aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-08 22:15:40 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-09 22:28:23 -0700
commitd87449c553262a24df26648633c7c73b2db7dcc6 (patch)
tree8ff9a656ea6b550dd915444fa2f18c86338f63cf /commit.h
parent62033318abbe648e8be49121b0a3570c07d38a9d (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
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);