From d87449c553262a24df26648633c7c73b2db7dcc6 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 8 Aug 2005 22:15:40 -0700 Subject: 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 --- commit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'commit.h') diff --git a/commit.h b/commit.h index c24ab21061..5d179d4dc8 100644 --- a/commit.h +++ b/commit.h @@ -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); -- cgit v1.2.3