summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-03 03:05:20 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-03 03:05:20 -0700
commit160b7983034cdd24ea1bf6ef7a2532a2296461c6 (patch)
tree26b69d312d4f19be852e8578fb6d0bf669cd7790 /object.h
parent2ef108013ec15e8d5feee6d5c42692ae956ee302 (diff)
downloadgit-160b7983034cdd24ea1bf6ef7a2532a2296461c6.tar.gz
revert clear-commit-marks for now.
Earlier change broke "git describe A B" among other things. Revert it for now, and clean the commits smudged by get_merge_bases using clear_object_marks() function. For complex commit ancestry graph, this is way cheaper as well. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'object.h')
-rw-r--r--object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/object.h b/object.h
index 6f23a9a180..7ac10111c6 100644
--- a/object.h
+++ b/object.h
@@ -83,4 +83,6 @@ int object_list_contains(struct object_list *list, struct object *obj);
/* Object array handling .. */
void add_object_array(struct object *obj, const char *name, struct object_array *array);
+void clear_object_marks(unsigned);
+
#endif /* OBJECT_H */