Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config: warn on inaccessible files
[gitweb.git]
/
builtin
/
fast-export.c
diff --git
a/builtin/fast-export.c
b/builtin/fast-export.c
index ef7c0120949c4ce1667c9d1d8e74a9c63c8adc02..9ab6db3fb042d0cb7ee3a1919788b9a6cd26a3d6 100644
(file)
--- a/
builtin/fast-export.c
+++ b/
builtin/fast-export.c
@@
-185,6
+185,8
@@
static void print_path(const char *path)
int need_quote = quote_c_style(path, NULL, NULL, 0);
if (need_quote)
quote_c_style(path, NULL, stdout, 0);
+ else if (strchr(path, ' '))
+ printf("\"%s\"", path);
else
printf("%s", path);
}