From 3381c790e5ca04326d26e1dd9ff482961c6e425b Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 8 Apr 2006 17:05:58 -0700 Subject: 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 Signed-off-by: Junio C Hamano --- rev-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rev-list.c') diff --git a/rev-list.c b/rev-list.c index 1301502627..359195b547 100644 --- a/rev-list.c +++ b/rev-list.c @@ -7,9 +7,9 @@ #include "tree-walk.h" #include "revision.h" -/* bits #0-5 in revision.h */ +/* bits #0-6 in revision.h */ -#define COUNTED (1u<<6) +#define COUNTED (1u<<7) static const char rev_list_usage[] = "git-rev-list [OPTION] ... [ -- paths... ]\n" -- cgit v1.2.1