Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Allow cloning to an existing empty directory
[gitweb.git]
/
builtin-fast-export.c
diff --git
a/builtin-fast-export.c
b/builtin-fast-export.c
index 838633808c3eb4891919aa397716f04fcd4cfe24..e9ee2c79ac0395fde30de329d181733d7be88d40 100644
(file)
--- a/
builtin-fast-export.c
+++ b/
builtin-fast-export.c
@@
-497,6
+497,9
@@
int cmd_fast_export(int argc, const char **argv, const char *prefix)
OPT_END()
};
+ if (argc == 1)
+ usage_with_options (fast_export_usage, options);
+
/* we handle encodings */
git_config(git_default_config, NULL);