aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
AgeCommit message (Expand)AuthorFilesLines
2020-09-09commit-graph: introduce 'get_bloom_filter_settings()'Taylor Blau1-0/+11
2020-08-17commit-graph: use the "hash version" byteDerrick Stolee1-1/+8
2020-07-30Merge branch 'ds/commit-graph-bloom-updates' into masterJunio C Hamano1-38/+110
2020-07-30Merge branch 'sg/commit-graph-cleanups' into masterJunio C Hamano1-64/+48
2020-07-15Merge branch 'sg/commit-graph-progress-fix' into masterJunio C Hamano1-22/+5
2020-07-09Merge branch 'tb/fix-persistent-shallow' into masterJunio C Hamano1-1/+2
2020-07-09commit-graph: fix "Writing out commit graph" progress counterSZEDER Gábor1-20/+2
2020-07-09commit-graph: fix progress of reachable commitsSZEDER Gábor1-2/+3
2020-07-08commit.c: don't persist substituted parents when unshallowingTaylor Blau1-1/+2
2020-07-01commit-graph: check chunk sizes after writingSZEDER Gábor1-0/+7
2020-07-01commit-graph: simplify chunk writes into loopSZEDER Gábor1-12/+16
2020-07-01commit-graph: unify the signatures of all write_graph_chunk_*() functionsSZEDER Gábor1-16/+26
2020-07-01commit-graph: persist existence of changed-pathsDerrick Stolee1-3/+42
2020-07-01bloom: fix logic in get_bloom_filter()Derrick Stolee1-2/+6
2020-06-23commit-graph: change test to die on parse, not loadDerrick Stolee1-4/+8
2020-06-23commit-graph: place bloom_settings in contextDerrick Stolee1-6/+8
2020-06-17commit-graph: minimize commit_graph_data_slab accessAbhishek Kumar1-14/+26
2020-06-17commit: move members graph_pos, generation to a slabAbhishek Kumar1-20/+20
2020-06-17commit-graph: introduce commit_graph_data_slabAbhishek Kumar1-10/+68
2020-06-08Merge branch 'tb/commit-graph-no-check-oids'Junio C Hamano1-35/+27
2020-06-08commit-graph: simplify write_commit_graph_file() #2SZEDER Gábor1-21/+24
2020-06-08commit-graph: simplify write_commit_graph_file() #1SZEDER Gábor1-29/+17
2020-06-08commit-graph: simplify parse_commit_graph() #2SZEDER Gábor1-17/+9
2020-06-08commit-graph: simplify parse_commit_graph() #1SZEDER Gábor1-7/+9
2020-06-08commit-graph: clean up #includesSZEDER Gábor1-3/+1
2020-06-08commit-graph: fix parsing the Chunk Lookup tableSZEDER Gábor1-1/+1
2020-05-18commit-graph: drop COMMIT_GRAPH_WRITE_CHECK_OIDS flagTaylor Blau1-2/+0
2020-05-18commit-graph.c: simplify 'fill_oids_from_commits'Taylor Blau1-30/+3
2020-05-13commit-graph.c: peel refs in 'add_ref_to_set'Taylor Blau1-1/+5
2020-05-13commit-graph.c: show progress of finding reachable commitsTaylor Blau1-0/+9
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-0/+1
2020-05-08Merge branch 'jt/commit-graph-plug-memleak'Junio C Hamano1-11/+11
2020-05-05Merge branch 'tb/commit-graph-perm-bits'Junio C Hamano1-2/+10
2020-05-04commit-graph.c: extract 'refs_cb_data'Taylor Blau1-3/+11
2020-05-04commit-graph: avoid memory leaksJonathan Tan1-11/+11
2020-05-01Merge branch 'ds/blame-on-bloom'Junio C Hamano1-0/+14
2020-05-01Merge branch 'gs/commit-graph-path-filter'Junio C Hamano1-6/+207
2020-05-01Merge branch 'tb/commit-graph-fd-exhaustion-fix'Junio C Hamano1-13/+8
2020-05-01Merge branch 'tb/commit-graph-split-strategy'Junio C Hamano1-47/+84
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-0/+1
2020-04-29Revert "commit-graph.c: introduce '--[no-]check-oids'"Junio C Hamano1-1/+1
2020-04-29commit-graph.c: make 'commit-graph-chain's read-onlyTaylor Blau1-1/+2
2020-04-29commit-graph.c: ensure graph layers respect core.sharedRepositoryTaylor Blau1-0/+6
2020-04-29commit-graph.c: write non-split graphs as read-onlyTaylor Blau1-1/+2
2020-04-28Merge branch 'ds/commit-graph-expiry-fix'Junio C Hamano1-1/+1
2020-04-24commit-graph: close descriptors after mmapJeff King1-10/+5
2020-04-23commit-graph.c: gracefully handle file descriptor exhaustionTaylor Blau1-2/+2
2020-04-23commit-graph.c: don't use discarded graph_name in errorTaylor Blau1-1/+1
2020-04-16tests: write commit-graph with Bloom filtersDerrick Stolee1-0/+14
2020-04-15commit-graph.c: introduce '--[no-]check-oids'Taylor Blau1-1/+1
2020-04-15commit-graph.h: replace 'commit_hex' with 'commits'Taylor Blau1-26/+33
2020-04-15builtin/commit-graph.c: introduce split strategy 'replace'Taylor Blau1-14/+39
2020-04-15builtin/commit-graph.c: introduce split strategy 'no-merge'Taylor Blau1-7/+12
2020-04-06commit-graph: reuse existing Bloom filters during writeGarima Singh1-3/+3
2020-04-06commit-graph: write Bloom filters to commit graph fileGarima Singh1-1/+112
2020-04-01commit-graph: fix buggy --expire-time optionDerrick Stolee1-1/+1
2020-03-30commit-graph: examine commits by generation numberGarima Singh1-3/+30
2020-03-30commit-graph: examine changed-path objects in pack orderJeff King1-3/+35
2020-03-30commit-graph: compute Bloom filters for changed pathsGarima Singh1-1/+31
2020-03-30commit-graph: define and use MAX_NUM_CHUNKSGarima Singh1-2/+3
2020-03-05Merge branch 'rs/commit-graph-code-simplification'Junio C Hamano1-6/+2
2020-02-27commit-graph: use progress title directlyRené Scharfe1-6/+2
2020-02-04commit-graph.h: use odb in 'load_commit_graph_one_fd_st'Taylor Blau1-11/+10
2020-02-04commit-graph.c: remove path normalization, comparisonTaylor Blau1-28/+19
2020-02-04commit-graph.h: store object directory in 'struct commit_graph'Taylor Blau1-17/+21
2020-02-04commit-graph.h: store an odb in 'struct write_commit_graph_context'Taylor Blau1-25/+16
2020-01-06Merge branch 'ds/commit-graph-set-size-mult'Junio C Hamano1-1/+3
2020-01-02commit-graph: prefer default size_mult when given zeroDerrick Stolee1-1/+3
2019-12-10Merge branch 'ds/commit-graph-delay-gen-progress'Junio C Hamano1-1/+1
2019-12-01Merge branch 'en/doc-typofix'Junio C Hamano1-1/+1
2019-12-01Merge branch 'jk/cleanup-object-parsing-and-fsck'Junio C Hamano1-3/+0
2019-11-27commit-graph: use start_delayed_progress()Derrick Stolee1-1/+1
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-11-04Merge branch 'ds/commit-graph-on-fetch'Junio C Hamano1-4/+7
2019-10-28commit, tag: don't set parsed bit for parse failuresJeff King1-3/+0
2019-10-25commit-graph: fix writing first commit-graph during fetchDerrick Stolee1-4/+7
2019-10-09Merge branch 'ah/cleanups'Junio C Hamano1-2/+3
2019-10-07Merge branch 'tb/commit-graph-harden'Junio C Hamano1-2/+9
2019-10-07Merge branch 'gs/commit-graph-progress'Junio C Hamano1-2/+4
2019-10-07Merge branch 'rs/commit-graph-use-list-count'Junio C Hamano1-11/+6
2019-10-07Merge branch 'jk/disable-commit-graph-during-upload-pack'Junio C Hamano1-3/+15
2019-10-07Merge branch 'jk/commit-graph-cleanup'Junio C Hamano1-1/+1
2019-10-02commit-graph: remove a duplicate assignmentAlex Henrie1-2/+3
2019-09-18commit-graph: add --[no-]progress to write and verifyGarima Singh1-2/+4
2019-09-16commit-graph: use commit_list_count()René Scharfe1-11/+6
2019-09-12upload-pack: disable commit graph more gently for shallow traversalJeff King1-0/+12
2019-09-12commit-graph: bump DIE_ON_LOAD check to actual load-timeJeff King1-4/+4
2019-09-09Merge branch 'ds/feature-macros'Junio C Hamano1-3/+3
2019-09-09commit-graph: don't show progress percentages while expanding reachable commitsSZEDER Gábor1-1/+1
2019-09-09commit-graph.c: handle corrupt/missing treesTaylor Blau1-1/+6
2019-09-09commit-graph.c: handle commit parsing errorsTaylor Blau1-1/+3
2019-08-22Merge branch 'sg/commit-graph-validate'Junio C Hamano1-17/+23
2019-08-13repo-settings: consolidate some config settingsDerrick Stolee1-3/+3
2019-08-09Merge branch 'ds/commit-graph-incremental'Junio C Hamano1-5/+7
2019-08-07commit-graph: release strbufs after useRené Scharfe1-5/+7
2019-08-05commit-graph: fix bug around octopus mergesDerrick Stolee1-1/+1
2019-08-05commit-graph: error out on invalid commit oids in 'write --stdin-commits'SZEDER Gábor1-12/+17
2019-08-05commit-graph: turn a group of write-related macro flags into an enumSZEDER Gábor1-5/+6
2019-07-19Merge branch 'ds/commit-graph-incremental'Junio C Hamano1-49/+774
2019-07-09Merge branch 'jk/oidhash'Junio C Hamano1-1/+1
2019-07-09Merge branch 'ds/close-object-store'Junio C Hamano1-4/+4
2019-07-09Merge branch 'ds/commit-graph-write-refactor'Junio C Hamano1-271/+336
2019-06-20object: convert create_object() to use object_idJeff King1-1/+1
2019-06-19commit-graph: normalize commit-graph filenamesDerrick Stolee1-7/+23
2019-06-19commit-graph: merge commit-graph chainsDerrick Stolee1-33/+147
2019-06-19commit-graph: add --split option to builtinDerrick Stolee1-5/+9
2019-06-19commit-graph: write commit-graph chainsDerrick Stolee1-11/+275
2019-06-19commit-graph: clean up chains after flattened writeDerrick Stolee1-3/+9
2019-06-19commit-graph: rearrange chunk count logicDerrick Stolee1-14/+21
2019-06-19commit-graph: verify chains with --shallow modeDerrick Stolee1-3/+12
2019-06-19commit-graph: add base graphs chunkDerrick Stolee1-0/+22
2019-06-19commit-graph: create options for split filesDerrick Stolee1-11/+24
2019-06-19commit-graph: load commit-graph chainsDerrick Stolee1-6/+106
2019-06-19commit-graph: expire commit-graph filesDerrick Stolee1-0/+69
2019-06-19commit-graph: rename commit_compare to oid_compareDerrick Stolee1-2/+2
2019-06-19commit-graph: allow cross-alternate chainsDerrick Stolee1-11/+45
2019-06-19commit-graph: prepare for commit-graph chainsDerrick Stolee1-11/+78
2019-06-12commit-graph: use raw_object_store when closingDerrick Stolee1-4/+4
2019-06-12commit-graph: extract write_commit_graph_file()Derrick Stolee1-75/+80
2019-06-12commit-graph: extract copy_oids_to_commits()Derrick Stolee1-25/+32
2019-06-12commit-graph: extract count_distinct_commits()Derrick Stolee1-13/+22
2019-06-12commit-graph: extract fill_oids_from_all_packs()Derrick Stolee1-11/+15
2019-06-12commit-graph: extract fill_oids_from_commit_hex()Derrick Stolee1-32/+40
2019-06-12commit-graph: extract fill_oids_from_packs()Derrick Stolee1-36/+47
2019-06-12commit-graph: create write_commit_graph_contextDerrick Stolee1-196/+194
2019-06-12commit-graph: collapse parameters into flagsDerrick Stolee1-4/+5
2019-06-12commit-graph: return with errors during writeDerrick Stolee1-19/+41
2019-05-19Merge branch 'js/commit-graph-parse-leakfix'Junio C Hamano1-1/+3
2019-05-09Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano1-2/+7
2019-05-07commit-graph: fix memory leakJosh Steadmon1-1/+3
2019-04-16commit.cocci: refactor code, avoid double rewriteNguyễn Thái Ngọc Duy1-2/+7
2019-04-01commit-graph: improve & i18n error messagesÆvar Arnfjörð Bjarmason1-19/+19
2019-04-01commit-graph write: don't die if the existing graph is corruptÆvar Arnfjörð Bjarmason1-3/+7
2019-04-01commit-graph: don't pass filename to load_commit_graph_one_fd_st()Ævar Arnfjörð Bjarmason1-4/+3
2019-04-01commit-graph: don't early exit(1) on e.g. "git status"Ævar Arnfjörð Bjarmason1-12/+30
2019-04-01commit-graph: fix segfault on e.g. "git status"Ævar Arnfjörð Bjarmason1-9/+34
2019-02-05Merge branch 'ab/commit-graph-write-progress'Junio C Hamano1-36/+94
2019-02-05Merge branch 'ab/commit-graph-write-optim'Junio C Hamano1-2/+4
2019-02-05Merge branch 'js/commit-graph-chunk-table-fix'Junio C Hamano1-19/+48
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano1-16/+24
2019-01-29Merge branch 'bc/sha-256'Junio C Hamano1-16/+17
2019-01-23commit-graph write: emit a percentage for all progressÆvar Arnfjörð Bjarmason1-7/+7
2019-01-23commit-graph write: add itermediate progressÆvar Arnfjörð Bjarmason1-0/+13
2019-01-23commit-graph write: remove empty line for readabilityÆvar Arnfjörð Bjarmason1-1/+0
2019-01-23commit-graph write: add more descriptive progress outputÆvar Arnfjörð Bjarmason1-7/+18
2019-01-23commit-graph write: show progress for object searchÆvar Arnfjörð Bjarmason1-2/+7
2019-01-23commit-graph write: more descriptive "writing out" outputÆvar Arnfjörð Bjarmason1-2/+10
2019-01-23commit-graph write: add "Writing out" progress outputÆvar Arnfjörð Bjarmason1-9/+30
2019-01-23commit-graph: don't call write_graph_chunk_extra_edges() unnecessarilySZEDER Gábor1-1/+2
2019-01-22commit-graph: rename "large edges" to "extra edges"SZEDER Gábor1-12/+12
2019-01-22commit-graph write: use pack order when finding commitsÆvar Arnfjörð Bjarmason1-2/+4
2019-01-18Merge branch 'ds/commit-graph-assert-missing-parents'Junio C Hamano1-6/+11
2019-01-15commit-graph: fix buffer read-overflowJosh Steadmon1-2/+12
2019-01-15commit-graph, fuzz: add fuzzer for commit-graphJosh Steadmon1-17/+36
2019-01-14Merge branch 'ab/commit-graph-progress-fix'Junio C Hamano1-3/+10
2019-01-02commit-graph: writing missing parents is a BUGDerrick Stolee1-6/+11
2018-12-28commit-graph: convert remaining functions to handle any repoStefan Beller1-16/+24
2018-11-20commit-graph: split up close_reachable() progress outputÆvar Arnfjörð Bjarmason1-3/+10
2018-11-14commit-graph: convert to using the_hash_algobrian m. carlson1-16/+17
2018-11-13sha1-file: use an object_directory for the main object dirJeff King1-4/+1
2018-11-13rename "alternate_object_database" to "object_directory"Jeff King1-5/+5
2018-10-19Merge branch 'ds/commit-graph-leakfix'Junio C Hamano1-6/+10
2018-10-16Merge branch 'ds/commit-graph-with-grafts'Junio C Hamano1-4/+34
2018-10-16Merge branch 'ab/commit-graph-progress'Junio C Hamano1-8/+57
2018-10-07commit-graph: reduce initial oid allocationDerrick Stolee1-1/+1
2018-10-07commit-graph: clean up leaked memory during writeDerrick Stolee1-5/+9
2018-09-17Merge branch 'ds/commit-graph-tests'Junio C Hamano1-2/+3
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-5/+5
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+18
2018-09-17commit-graph verify: add progress outputÆvar Arnfjörð Bjarmason1-0/+5
2018-09-17commit-graph write: add progress outputÆvar Arnfjörð Bjarmason1-8/+52
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-1/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-3/+3
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-1/+1
2018-08-29commit-graph: define GIT_TEST_COMMIT_GRAPHDerrick Stolee1-2/+3
2018-08-21commit-graph: close_commit_graph before shallow walkDerrick Stolee1-4/+4
2018-08-21commit-graph: not compatible with uninitialized repoDerrick Stolee1-0/+3
2018-08-21commit-graph: not compatible with graftsDerrick Stolee1-0/+6
2018-08-21commit-graph: not compatible with replace objectsDerrick Stolee1-0/+21
2018-08-20Merge branch 'jk/for-each-object-iteration'Junio C Hamano1-1/+1
2018-08-15Merge branch 'nd/i18n'Junio C Hamano1-10/+10
2018-08-13for_each_packed_object: support iterating in pack-orderJeff King1-1/+1
2018-07-23commit-graph.c: mark more strings for translationNguyễn Thái Ngọc Duy1-10/+10
2018-07-20commit-reach: use can_all_from_reachDerrick Stolee1-0/+18
2018-07-17commit-graph: add repo arg to graph readersJonathan Tan1-27/+33
2018-07-17commit-graph: store graph in struct object_storeJonathan Tan1-21/+19
2018-07-17commit-graph: add free_commit_graphJonathan Tan1-10/+14
2018-07-17commit-graph: refactor preparing commit graphJonathan Tan1-11/+17
2018-07-17Merge branch 'ds/commit-graph-fsck' into jt/commit-graph-per-object-storeJunio C Hamano1-16/+235
2018-06-29commit: add repository argument to lookup_commitStefan Beller1-5/+5
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+1
2018-06-29tree: add repository argument to lookup_treeStefan Beller1-1/+1
2018-06-27commit-graph: add '--reachable' optionDerrick Stolee1-0/+20
2018-06-27commit-graph: use string-list API for inputDerrick Stolee1-8/+7
2018-06-27commit-graph: verify contents match checksumDerrick Stolee1-2/+14
2018-06-27commit-graph: verify commit dateDerrick Stolee1-0/+6
2018-06-27commit-graph: verify generation numberDerrick Stolee1-0/+34
2018-06-27commit-graph: verify parent listDerrick Stolee1-0/+28
2018-06-27commit-graph: verify root tree OIDsDerrick Stolee1-1/+16
2018-06-27commit-graph: verify objects existDerrick Stolee1-0/+18