diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-08 22:15:40 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-09 22:28:23 -0700 |
commit | d87449c553262a24df26648633c7c73b2db7dcc6 (patch) | |
tree | 8ff9a656ea6b550dd915444fa2f18c86338f63cf /commit.h | |
parent | 62033318abbe648e8be49121b0a3570c07d38a9d (diff) | |
download | git-d87449c553262a24df26648633c7c73b2db7dcc6.tar.gz |
Introduce --pretty=oneline format.
This introduces --pretty=oneline to git-rev-tree and
git-rev-list commands to show only the first line of the commit
message, without frills.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ enum cmit_fmt { CMIT_FMT_DEFAULT = CMIT_FMT_MEDIUM, CMIT_FMT_SHORT, CMIT_FMT_FULL, + CMIT_FMT_ONELINE, }; extern enum cmit_fmt get_commit_format(const char *arg); |