diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-01-20 23:04:02 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-20 23:46:53 -0800 |
commit | 9c5e66e97da8cadcc45a278c4e39a7d25674d4ff (patch) | |
tree | 1f14d50a5398779c8738645fadd4b325086bfc0b /revision.h | |
parent | eaf6459e4d482af51429f9464125621b805eb5fd (diff) | |
download | git-9c5e66e97da8cadcc45a278c4e39a7d25674d4ff.tar.gz |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h index d93481f68f..5fec1846f3 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, |