aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-01-20 23:04:02 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-20 23:46:53 -0800
commit9c5e66e97da8cadcc45a278c4e39a7d25674d4ff (patch)
tree1f14d50a5398779c8738645fadd4b325086bfc0b /revision.h
parenteaf6459e4d482af51429f9464125621b805eb5fd (diff)
downloadgit-9c5e66e97da8cadcc45a278c4e39a7d25674d4ff.tar.gz
git-9c5e66e97da8cadcc45a278c4e39a7d25674d4ff.tar.xz
Teach revision machinery about --reverse
The option --reverse reverses the order of the commits. [jc: with comments on rev_info.reverse from Simon 'corecode' Schubert.] Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index d93481f68..5fec1846f 100644
--- a/revision.h
+++ b/revision.h
@@ -42,7 +42,8 @@ struct rev_info {
unpacked:1, /* see also ignore_packed below */
boundary:1,
left_right:1,
- parents:1;
+ parents:1,
+ reverse:2;
/* Diff flags */
unsigned int diff:1,