aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-08 12:33:35 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-08 12:33:35 -0700
commit68590435c147b3fdd4cbb1c068b2f9d793c02246 (patch)
tree3bd9543ff448026d54c0559cb54dbafd31363faa
parent460940f99766ed547cc48f4c574acdc8c258e845 (diff)
parentbf01d4a334c621abdc76a5bdeac252296d9b23cb (diff)
downloadgit-68590435c147b3fdd4cbb1c068b2f9d793c02246.tar.gz
git-68590435c147b3fdd4cbb1c068b2f9d793c02246.tar.xz
Merge branch 'ms/reflog-show-is-default'
* ms/reflog-show-is-default: reflog: actually default to subcommand 'show'
-rw-r--r--builtin/reflog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/reflog.c b/builtin/reflog.c
index ebf610e64..3a9c80f3d 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -777,6 +777,5 @@ int cmd_reflog(int argc, const char **argv, const char *prefix)
if (!strcmp(argv[1], "delete"))
return cmd_reflog_delete(argc - 1, argv + 1, prefix);
- /* Not a recognized reflog command..*/
- usage(reflog_usage);
+ return cmd_log_reflog(argc, argv, prefix);
}