projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c649657
)
rev-list --objects-edge: remove duplicated edge commit output.
author
Junio C Hamano
<junkio@cox.net>
Fri, 24 Feb 2006 07:44:15 +0000
(23:44 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 24 Feb 2006 07:44:15 +0000
(23:44 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c
patch
|
blob
|
history
diff --git
a/rev-list.c
b/rev-list.c
index
373549e
..
b5de075
100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-440,8
+440,10
@@
static void mark_edge_parents_uninteresting(struct commit *commit)
if (!(parent->object.flags & UNINTERESTING))
continue;
mark_tree_uninteresting(parent->tree);
- if (edge_hint)
+ if (edge_hint && !(parent->object.flags & SHOWN)) {
+ parent->object.flags |= SHOWN;
printf("-%s\n", sha1_to_hex(parent->object.sha1));
+ }
}
}