summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-15 23:18:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-15 23:18:11 (GMT)
commite17cec27d18c730dae738684d2f5df1dbd54a804 (patch)
tree3207a54751b246c7b3ecd71c9858cf6ac0bffda0 /object.h
parent04afcc2201ddb399031484eb9769393bade2529d (diff)
parent6fcec2f9aeeac6329ecf2f7084173f5b4346588b (diff)
downloadgit-e17cec27d18c730dae738684d2f5df1dbd54a804.zip
git-e17cec27d18c730dae738684d2f5df1dbd54a804.tar.gz
git-e17cec27d18c730dae738684d2f5df1dbd54a804.tar.bz2
Merge branch 'rs/lose-leak-pending' into maint
API clean-up around revision traversal. * rs/lose-leak-pending: commit: remove unused function clear_commit_marks_for_object_array() revision: remove the unused flag leak_pending checkout: avoid using the rev_info flag leak_pending bundle: avoid using the rev_info flag leak_pending bisect: avoid using the rev_info flag leak_pending object: add clear_commit_marks_all() ref-filter: use clear_commit_marks_many() in do_merge_filter() commit: use clear_commit_marks_many() in remove_redundant() commit: avoid allocation in clear_commit_marks_many()
Diffstat (limited to 'object.h')
-rw-r--r--object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/object.h b/object.h
index f34461d..87563d9 100644
--- a/object.h
+++ b/object.h
@@ -149,4 +149,9 @@ void object_array_clear(struct object_array *array);
void clear_object_flags(unsigned flags);
+/*
+ * Clear the specified object flags from all in-core commit objects.
+ */
+extern void clear_commit_marks_all(unsigned int flags);
+
#endif /* OBJECT_H */