aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-09-11 22:33:24 -0700
committerJunio C Hamano <gitster@pobox.com>2011-09-11 22:33:24 -0700
commite1fd529f2f89fe64f65754fd425ce088733bd145 (patch)
treeeb32dc329ddf93187c78e29298d2a31e39b0dcb5
parent2f19a52c64237295de912e63f6cc8bc08040bf75 (diff)
parentbf01d4a334c621abdc76a5bdeac252296d9b23cb (diff)
downloadgit-e1fd529f2f89fe64f65754fd425ce088733bd145.tar.gz
git-e1fd529f2f89fe64f65754fd425ce088733bd145.tar.xz
Merge branch 'ms/reflog-show-is-default' into maint
* 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);
}