aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
AgeCommit message (Expand)AuthorFilesLines
2021-09-20Merge branch 'js/run-command-close-packs'Junio C Hamano1-0/+1
2021-09-20Merge branch 'ab/progress-users-adjust-counters'Junio C Hamano1-1/+1
2021-09-09commit-graph: fix bogus counter in "Scanning merged commits" progress lineSZEDER Gábor1-1/+1
2021-09-08commit-graph: when closing the graph, also release the slabJohannes Schindelin1-0/+1
2021-08-09revision: avoid hitting packfiles when commits are in commit-graphPatrick Steinhardt1-0/+24
2021-08-09commit-graph: split out function to search commit positionPatrick Steinhardt1-25/+30
2021-07-28Merge branch 'ab/attribute-format'Junio C Hamano1-0/+1
2021-07-13*.c static functions: add missing __attribute__((format))Ævar Arnfjörð Bjarmason1-0/+1
2021-06-28commit-graph: rewrite to use checksum_valid()Taylor Blau1-8/+6
2021-04-27commit-graph: don't store file hashes as struct object_idbrian m. carlson1-6/+7
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-6/+6
2021-03-22Merge branch 'ds/commit-graph-generation-config'Junio C Hamano1-11/+20
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2021-03-01Merge branch 'ds/chunked-file-api'Junio C Hamano1-200/+112
2021-03-01Merge branch 'js/commit-graph-warning'Junio C Hamano1-11/+3
2021-03-01Revert "commit-graph: when incompatible with graphs, indicate why"Junio C Hamano1-11/+3
2021-02-25commit-graph: use config to specify generation typeDerrick Stolee1-7/+15
2021-02-25commit-graph: create local repository pointerDerrick Stolee1-4/+5
2021-02-24commit-graph.c: display correct number of chunks when writingTaylor Blau1-4/+3
2021-02-22commit-graph: avoid leaking topo_levels slab in write_commit_graph()Andrzej Hunt1-0/+1
2021-02-18commit-graph: use chunk-format read APIDerrick Stolee1-105/+54
2021-02-18commit-graph: use chunk-format write APIDerrick Stolee1-82/+37
2021-02-17Merge branch 'js/commit-graph-warning'Junio C Hamano1-3/+11
2021-02-17Merge branch 'ds/commit-graph-genno-fix'Junio C Hamano1-37/+101
2021-02-17Merge branch 'ak/corrected-commit-date'Junio C Hamano1-47/+204
2021-02-11commit-graph: when incompatible with graphs, indicate whyJohannes Schindelin1-3/+11
2021-02-10Merge branch 'jk/use-oid-pos'Junio C Hamano1-15/+15
2021-02-05commit-graph: anonymize data in chunk_write_fnDerrick Stolee1-10/+19
2021-02-03Merge branch 'jk/peel-iterated-oid'Junio C Hamano1-1/+1
2021-02-01commit-graph: prepare commit graphDerrick Stolee1-8/+2
2021-02-01commit-graph: be extra careful about mixed generationsDerrick Stolee1-2/+12
2021-02-01commit-graph: compute generations separatelyDerrick Stolee1-14/+56
2021-02-01commit-graph: validate layers for generation dataDerrick Stolee1-6/+16
2021-02-01commit-graph: always parse before commit_graph_data_at()Derrick Stolee1-4/+12
2021-02-01commit-graph: use repo_parse_commitDerrick Stolee1-5/+5
2021-01-28oid_pos(): access table through const pointersJeff King1-2/+2
2021-01-28hash_pos(): convert to oid_pos()Jeff King1-14/+14
2021-01-25Merge branch 'ma/more-opaque-lock-file'Junio C Hamano1-3/+3
2021-01-21refs: switch peel_ref() to peel_iterated_oid()Jeff King1-1/+1
2021-01-18commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar1-0/+14
2021-01-18commit-graph: use generation v2 only if entire chain doesAbhishek Kumar1-2/+28
2021-01-18commit-graph: implement generation data chunkAbhishek Kumar1-11/+103
2021-01-18commit-graph: implement corrected commit dateAbhishek Kumar1-4/+17
2021-01-18commit-graph: return 64-bit generation numberAbhishek Kumar1-11/+11
2021-01-18commit-graph: add a slab to store topological levelsAbhishek Kumar1-15/+30
2021-01-18commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar1-17/+10
2021-01-18commit-graph: fix regression when computing Bloom filtersAbhishek Kumar1-2/+6
2021-01-06commit-graph: don't peek into `struct lock_file`Martin Ågren1-3/+3
2021-01-04hash-lookup: rename from sha1-lookupMartin Ågren1-1/+1
2021-01-04sha1-lookup: rename `sha1_pos()` as `hash_pos()`Martin Ågren1-3/+3
2020-12-07commit-graph: use size_t for array allocation and indexingJeff King1-2/+2
2020-12-07commit-graph: replace packed_oid_list with oid_arrayJeff King1-47/+15
2020-12-07commit-graph: drop count_distinct_commits() functionJeff King1-41/+2
2020-11-02Merge branch 'ds/commit-graph-merging-fix'Junio C Hamano1-3/+18
2020-10-09commit-graph: don't write commit-graph when disabledDerrick Stolee1-0/+5
2020-10-09commit-graph: ignore duplicates when merging layersDerrick Stolee1-3/+13
2020-09-29Merge branch 'tb/bloom-improvements'Junio C Hamano1-42/+99
2020-09-25Merge branch 'ds/maintenance-part-1'Junio C Hamano1-4/+4
2020-09-18builtin/commit-graph.c: introduce '--max-new-filters=<n>'Taylor Blau1-2/+7
2020-09-17commit-graph: rename 'split_commit_graph_opts'Taylor Blau1-20/+20
2020-09-17bloom: encode out-of-bounds filters as non-emptyTaylor Blau1-0/+5
2020-09-17maintenance: add commit-graph taskDerrick Stolee1-4/+4
2020-09-17bloom: use provided 'struct bloom_filter_settings'Taylor Blau1-11/+10
2020-09-17bloom: split 'get_bloom_filter()' in twoTaylor Blau1-3/+31
2020-09-17commit-graph.c: store maximum changed pathsTaylor Blau1-0/+4
2020-09-09commit-graph: respect 'commitGraph.readChangedPaths'Taylor Blau1-2/+4
2020-09-09commit-graph: pass a 'struct repository *' in more placesTaylor Blau1-7/+10
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