Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule.sh: accept verbose flag in cmd_update to be non-quiet
[gitweb.git]
/
builtin
/
rev-list.c
diff --git
a/builtin/rev-list.c
b/builtin/rev-list.c
index 718c6059c9f570d94b0bdba46d33ed1b065a34f7..b250c515b1aecab2b43aebe591ad7a22d5829271 100644
(file)
--- a/
builtin/rev-list.c
+++ b/
builtin/rev-list.c
@@
-277,6
+277,9
@@
int cmd_rev_list(int argc, const char **argv, const char *prefix)
int use_bitmap_index = 0;
const char *show_progress = NULL;
+ if (argc == 2 && !strcmp(argv[1], "-h"))
+ usage(rev_list_usage);
+
git_config(git_default_config, NULL);
init_revisions(&revs, prefix);
revs.abbrev = DEFAULT_ABBREV;