Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_ref_dir(): use a strbuf to hold refname
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 92095f5fcbb4454b3d605d2cdd6c9a1567498562..edb225d1fa2e572cacf467f1706f203ee02ddda7 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-2062,6
+2062,11
@@
static void set_children(struct rev_info *revs)
}
}
+void reset_revision_walk(void)
+{
+ clear_object_flags(SEEN | ADDED | SHOWN);
+}
+
int prepare_revision_walk(struct rev_info *revs)
{
int nr = revs->pending.nr;