summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2008-11-03 11:23:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-04 00:08:19 -0800
commitd467a525da28b28a0d8e16a42e121ab638fa7347 (patch)
treec45e22da4288068ce884c67e84c2e2f450e5e2d0 /revision.h
parentrevision: make tree comparison functions take commits rather than trees (diff)
downloadtgif-d467a525da28b28a0d8e16a42e121ab638fa7347.tar.xz
Make '--decorate' set an explicit 'show_decorations' flag
We will want to add decorations without necessarily showing them, so add an explicit revisions info flag as to whether we're showing decorations or not. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 51a48630e8..0a1806a9e1 100644
--- a/revision.h
+++ b/revision.h
@@ -54,6 +54,7 @@ struct rev_info {
rewrite_parents:1,
print_parents:1,
show_source:1,
+ show_decorations:1,
reverse:1,
reverse_output_stage:1,
cherry_pick:1,