summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-09 05:15:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-10 05:28:23 (GMT)
commitd87449c553262a24df26648633c7c73b2db7dcc6 (patch)
tree8ff9a656ea6b550dd915444fa2f18c86338f63cf /commit.h
parent62033318abbe648e8be49121b0a3570c07d38a9d (diff)
downloadgit-d87449c553262a24df26648633c7c73b2db7dcc6.zip
git-d87449c553262a24df26648633c7c73b2db7dcc6.tar.gz
git-d87449c553262a24df26648633c7c73b2db7dcc6.tar.bz2
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 c24ab21..5d179d4 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);