diff options
author | Linus Torvalds <torvalds@osdl.org> | 2006-04-08 17:05:58 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-08 23:37:21 -0700 |
commit | 3381c790e5ca04326d26e1dd9ff482961c6e425b (patch) | |
tree | 818873fa577518a411361646f45aafdd5753715c /revision.h | |
parent | 0ed49a3ed9ab9747f7916c928d50aa0bf4d2c81d (diff) | |
download | git-3381c790e5ca04326d26e1dd9ff482961c6e425b.tar.gz git-3381c790e5ca04326d26e1dd9ff482961c6e425b.tar.xz |
Make "--parents" logs also be incremental
The parent rewriting feature caused us to create the whole history in one
go, and then simplify it later, because of how rewrite_parents() had been
written. However, with a little tweaking, it's perfectly possible to do
even that one incrementally.
Right now, this doesn't really much matter, because every user of
"--parents" will probably generally _also_ use "--topo-order", which will
cause the old non-incremental behaviour anyway. However, I'm hopeful that
we could make even the topological sort incremental, or at least
_partially_ so (for example, make it incremental up to the first merge).
In the meantime, this at least moves things in the right direction, and
removes a strange special case.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index 0caeecf00..83d28d520 100644 --- a/revision.h +++ b/revision.h @@ -7,6 +7,7 @@ #define SHOWN (1u<<3) #define TMP_MARK (1u<<4) /* for isolated cases; clean after use */ #define BOUNDARY (1u<<5) +#define ADDED (1u<<6) /* Parents already parsed and added? */ struct rev_info; |