Skip to content

Commit 6859043

Browse files
committed
Merge branch 'ms/reflog-show-is-default'
* ms/reflog-show-is-default: reflog: actually default to subcommand 'show'
2 parents 460940f + bf01d4a commit 6859043

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builtin/reflog.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,5 @@ int cmd_reflog(int argc, const char **argv, const char *prefix)
777777
if (!strcmp(argv[1], "delete"))
778778
return cmd_reflog_delete(argc - 1, argv + 1, prefix);
779779

780-
/* Not a recognized reflog command..*/
781-
usage(reflog_usage);
780+
return cmd_log_reflog(argc, argv, prefix);
782781
}

0 commit comments

Comments
 (0)