aboutsummaryrefslogtreecommitdiff
path: root/commit-graph.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-08 18:06:27 -0700
committerJunio C Hamano <gitster@pobox.com>2020-06-08 18:06:27 -0700
commitdc57a9be5ee2f9c719965a9e6c7a2ed97af180a1 (patch)
tree9dc21d8b5134e7c47d2ffeff0a58d0f208c6c599 /commit-graph.h
parentf4cec40dbdc262ca0d485068aa549958ea8946a0 (diff)
parent2f00c355cb79ee86bddc9f2fef91ac380a6023fc (diff)
downloadgit-dc57a9be5ee2f9c719965a9e6c7a2ed97af180a1.tar.xz
Merge branch 'tb/commit-graph-no-check-oids'
Clean-up the commit-graph codepath. * tb/commit-graph-no-check-oids: commit-graph: drop COMMIT_GRAPH_WRITE_CHECK_OIDS flag t5318: reorder test below 'graph_read_expect' commit-graph.c: simplify 'fill_oids_from_commits' builtin/commit-graph.c: dereference tags in builtin builtin/commit-graph.c: extract 'read_one_commit()' commit-graph.c: peel refs in 'add_ref_to_set' commit-graph.c: show progress of finding reachable commits commit-graph.c: extract 'refs_cb_data'
Diffstat (limited to 'commit-graph.h')
-rw-r--r--commit-graph.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/commit-graph.h b/commit-graph.h
index 4212766a4f..3ba0da1e5f 100644
--- a/commit-graph.h
+++ b/commit-graph.h
@@ -91,9 +91,7 @@ enum commit_graph_write_flags {
COMMIT_GRAPH_WRITE_APPEND = (1 << 0),
COMMIT_GRAPH_WRITE_PROGRESS = (1 << 1),
COMMIT_GRAPH_WRITE_SPLIT = (1 << 2),
- /* Make sure that each OID in the input is a valid commit OID. */
- COMMIT_GRAPH_WRITE_CHECK_OIDS = (1 << 3),
- COMMIT_GRAPH_WRITE_BLOOM_FILTERS = (1 << 4),
+ COMMIT_GRAPH_WRITE_BLOOM_FILTERS = (1 << 3),
};
enum commit_graph_split_flags {