diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2007-02-08 09:51:56 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-08 15:35:24 -0800 |
commit | cf39f54efc6ac45f9ef5319103a94d5afa75910e (patch) | |
tree | 942afce009184e3109d81eb509415f7309f224c9 /builtin.h | |
parent | 67dad687ad15d26d8e26f4d27874af0bc0965ce2 (diff) | |
download | git-cf39f54efc6ac45f9ef5319103a94d5afa75910e.tar.gz |
git reflog show
It makes "git reflog [show]" act as
git log -g --pretty=oneline --abbrev-cmit
and is fairly straightforward. So you can just write
git reflog
or
git reflog show
and it will show you the reflog in a nice format.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ extern int cmd_grep(int argc, const char **argv, const char *prefix); extern int cmd_help(int argc, const char **argv, const char *prefix); extern int cmd_init_db(int argc, const char **argv, const char *prefix); extern int cmd_log(int argc, const char **argv, const char *prefix); +extern int cmd_log_reflog(int argc, const char **argv, const char *prefix); extern int cmd_ls_files(int argc, const char **argv, const char *prefix); extern int cmd_ls_tree(int argc, const char **argv, const char *prefix); extern int cmd_mailinfo(int argc, const char **argv, const char *prefix); |