summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-04-09 00:05:58 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-09 06:37:21 (GMT)
commit3381c790e5ca04326d26e1dd9ff482961c6e425b (patch)
tree818873fa577518a411361646f45aafdd5753715c /rev-list.c
parent0ed49a3ed9ab9747f7916c928d50aa0bf4d2c81d (diff)
downloadgit-3381c790e5ca04326d26e1dd9ff482961c6e425b.zip
git-3381c790e5ca04326d26e1dd9ff482961c6e425b.tar.gz
git-3381c790e5ca04326d26e1dd9ff482961c6e425b.tar.bz2
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 'rev-list.c')
-rw-r--r--rev-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rev-list.c b/rev-list.c
index 1301502..359195b 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] <commit-id>... [ -- paths... ]\n"