aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
AgeCommit message (Expand)AuthorFilesLines
2021-08-25advice: move advice.graftFileDeprecated squashing to commit.[ch]Ævar Arnfjörð Bjarmason1-1/+3
2021-07-16Merge branch 'ds/gender-neutral-doc'Junio C Hamano1-1/+1
2021-06-16comments: avoid using the gender of our usersFelipe Contreras1-1/+1
2021-03-26Merge branch 'cm/rebase-i-fixup-amend-reword'Junio C Hamano1-0/+14
2021-03-15sequencer: export and rename subject_length()Charvi Mendiratta1-0/+14
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2021-02-22Merge branch 'bc/signed-objects-with-both-hashes'Junio C Hamano1-27/+56
2021-02-17Merge branch 'ak/corrected-commit-date'Junio C Hamano1-2/+2
2021-02-10commit: allow parsing arbitrary buffers with headersbrian m. carlson1-4/+16
2021-02-10gpg-interface: improve interface for parsing tagsbrian m. carlson1-3/+6
2021-01-28oid_pos(): access table through const pointersJeff King1-2/+2
2021-01-28hash_pos(): convert to oid_pos()Jeff King1-5/+5
2021-01-28commit_graft_pos(): take an oid instead of a bare hashJeff King1-4/+4
2021-01-18commit: ignore additional signatures when parsing signed commitsbrian m. carlson1-20/+34
2021-01-18commit-graph: return 64-bit generation numberAbhishek Kumar1-2/+2
2021-01-15Merge branch 'ma/sha1-is-a-hash'Junio C Hamano1-2/+2
2021-01-06Merge branch 'en/merge-ort-recursive'Junio C Hamano1-0/+11
2021-01-04hash-lookup: rename from sha1-lookupMartin Ågren1-1/+1
2021-01-04sha1-lookup: rename `sha1_pos()` as `hash_pos()`Martin Ågren1-1/+1
2020-12-16commit: move reverse_commit_list() from merge-recursiveElijah Newren1-0/+11
2020-12-08commit: implement commit_list_contains()Derrick Stolee1-0/+11
2020-10-20Documentation: stylistically normalize references to Signed-off-by:Bradley M. Kuhn1-1/+1
2020-09-09Merge branch 'jt/interpret-branch-name-fallback'Junio C Hamano1-1/+1
2020-09-03Merge branch 'pw/rebase-i-more-options'Junio C Hamano1-4/+7
2020-09-02wt-status: tolerate dangling marksJonathan Tan1-1/+1
2020-08-17am: stop exporting GIT_COMMITTER_DATEPhillip Wood1-4/+7
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-4/+4
2020-07-09Merge branch 'tb/fix-persistent-shallow' into masterJunio C Hamano1-0/+2
2020-07-08commit.c: don't persist substituted parents when unshallowingTaylor Blau1-0/+2
2020-06-17commit-graph: minimize commit_graph_data_slab accessAbhishek Kumar1-2/+4
2020-06-17commit: move members graph_pos, generation to a slabAbhishek Kumar1-3/+3
2020-06-17object: drop parsed_object_pool->commit_countAbhishek Kumar1-2/+2
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-14/+2
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-13/+1
2020-04-30commit: make 'commit_graft_pos' non-staticTaylor Blau1-1/+1
2020-03-26Merge branch 'at/rebase-fork-point-regression-fix'Junio C Hamano1-2/+13
2020-02-24commit: use expected signature header for SHA-256brian m. carlson1-7/+23
2020-02-17Merge branch 'rs/strbuf-insertstr'Junio C Hamano1-1/+1
2020-02-11rebase: --fork-point regression fixJunio C Hamano1-2/+13
2020-02-10strbuf: add and use strbuf_insertstr()René Scharfe1-1/+1
2020-01-15gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen1-5/+7
2019-12-01Merge branch 'jk/cleanup-object-parsing-and-fsck'Junio C Hamano1-5/+28
2019-11-10Merge branch 'pw/post-commit-from-sequencer'Junio C Hamano1-0/+24
2019-10-28commit, tag: don't set parsed bit for parse failuresJeff King1-1/+13
2019-10-21parse_commit_buffer(): treat lookup_tree() failure as parse errorJeff King1-1/+7
2019-10-21parse_commit_buffer(): treat lookup_commit() failure as parse errorJeff King1-3/+8
2019-10-16move run_commit_hook() to libgit and use it therePhillip Wood1-0/+24
2019-10-07Merge branch 'tb/commit-graph-harden'Junio C Hamano1-1/+2
2019-09-30Merge branch 'mh/release-commit-memory-fix'Junio C Hamano1-1/+1
2019-09-09commit-graph.c: handle corrupt/missing treesTaylor Blau1-1/+2
2019-08-26commit: free the right buffer in release_commit_memoryMike Hommey1-1/+1
2019-07-29Merge branch 'ds/close-object-store' into maintJunio C Hamano1-1/+1
2019-07-09Merge branch 'jk/oidhash'Junio C Hamano1-3/+2
2019-07-09Merge branch 'ds/commit-graph-write-refactor'Junio C Hamano1-1/+1
2019-06-20object: convert create_object() to use object_idJeff King1-2/+1
2019-06-20object: convert lookup_object() to use object_idJeff King1-1/+1
2019-05-13commit-graph: fix the_repository referenceDerrick Stolee1-1/+1
2019-05-09Merge branch 'tb/unexpected'Junio C Hamano1-3/+3
2019-04-16commit.c: add repo_get_commit_tree()Nguyễn Thái Ngọc Duy1-2/+3
2019-04-16commit.cocci: refactor code, avoid double rewriteNguyễn Thái Ngọc Duy1-2/+7
2019-04-10get_commit_tree(): return NULL for broken treeJeff King1-3/+3
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano1-17/+24
2018-12-28commit: prepare free_commit_buffer and release_commit_memory for any repoStefan Beller1-5/+4
2018-11-18Merge branch 'jk/verify-sig-merge-into-void'Junio C Hamano1-0/+26
2018-11-18Merge branch 'ds/reachable-topo-order'Junio C Hamano1-5/+4
2018-11-14commit: prepare repo_unuse_commit_buffer to handle any repoStefan Beller1-2/+4
2018-11-14commit: prepare get_commit_buffer to handle any repoStefan Beller1-3/+5
2018-11-14commit: allow parse_commit* to handle any repoStefan Beller1-7/+11
2018-11-07merge: extract verify_merge_signature() helperJeff King1-0/+26
2018-11-02commit/revisions: bookkeeping before refactoringDerrick Stolee1-5/+4
2018-11-02Merge branch 'pk/rebase-in-c-4-opts'Junio C Hamano1-0/+82
2018-10-16Merge branch 'ds/commit-graph-with-grafts'Junio C Hamano1-1/+1
2018-10-11merge-base --fork-point: extract libified functionPratik Karki1-0/+81
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-1/+1
2018-09-17Merge branch 'jk/trailer-fixes'Junio C Hamano1-3/+3
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-361/+0
2018-09-04Merge branch 'ds/commit-graph-lockfile-fix'Junio C Hamano1-1/+4
2018-08-30commit: don't use generation numbers if not neededDerrick Stolee1-1/+4
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-27Merge branch 'js/larger-timestamps'Junio C Hamano1-1/+1
2018-08-23append_signoff: use size_t for string offsetsJeff King1-3/+3
2018-08-21commit: use timestamp_t for author_date_slabDerrick Stolee1-1/+1
2018-08-21commit-graph: not compatible with graftsDerrick Stolee1-1/+1
2018-08-02Merge branch 'jt/commit-graph-per-object-store'Junio C Hamano1-3/+3
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-30/+50
2018-08-02Merge branch 'ds/commit-graph-fsck'Junio C Hamano1-2/+8
2018-08-02Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2018-07-20commit-reach: move walk methods from commit.cDerrick Stolee1-358/+0
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-36/+41
2018-07-17commit-graph: add repo arg to graph readersJonathan Tan1-3/+3
2018-07-17Merge branch 'ds/commit-graph-fsck' into jt/commit-graph-per-object-storeJunio C Hamano1-2/+8
2018-07-16commit: express tree entry constants in terms of the_hash_algobrian m. carlson1-2/+2
2018-06-29commit.c: allow lookup_commit_reference to handle arbitrary repositoriesStefan Beller1-2/+2
2018-06-29commit.c: allow lookup_commit_reference_gently to handle arbitrary repositoriesStefan Beller1-4/+4
2018-06-29commit.c: allow get_cached_commit_buffer to handle arbitrary repositoriesStefan Beller1-2/+2
2018-06-29commit.c: allow set_commit_buffer to handle arbitrary repositoriesStefan Beller1-2/+2
2018-06-29commit.c: migrate the commit buffer to the parsed object storeStefan Beller1-6/+23
2018-06-29commit.c: allow parse_commit_buffer to handle arbitrary repositoriesStefan Beller1-5/+5
2018-06-29commit: allow lookup_commit to handle arbitrary repositoriesStefan Beller1-5/+5
2018-06-29tag: add repository argument to deref_tagStefan Beller1-1/+2
2018-06-29commit: add repository argument to get_cached_commit_bufferStefan Beller1-2/+2
2018-06-29commit: add repository argument to set_commit_bufferStefan Beller1-2/+2
2018-06-29commit: add repository argument to parse_commit_bufferStefan Beller1-2/+2
2018-06-29commit: add repository argument to lookup_commitStefan Beller1-3/+4
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-3/+3
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-3/+3
2018-06-29tree: add repository argument to lookup_treeStefan Beller1-1/+1
2018-06-29object: add repository argument to object_as_typeStefan Beller1-2/+2
2018-06-29object: add repository argument to lookup_objectStefan Beller1-1/+1
2018-06-29object: add repository argument to parse_objectStefan Beller1-2/+3
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-36/+41
2018-06-27commit: force commit to parse from object databaseDerrick Stolee1-2/+8
2018-06-25Merge branch 'sb/object-store-alloc'Junio C Hamano1-1/+14
2018-06-25Merge branch 'ds/commit-graph-lockfile-fix'Junio C Hamano1-8/+53
2018-06-25Merge branch 'nd/commit-util-to-slab'Junio C Hamano1-2/+10
2018-06-13Merge branch 'jk/index-pack-maint'Junio C Hamano1-0/+3
2018-06-01prepare_commit_graft: treat non-repository as a noopJeff King1-0/+3
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2018-05-23Merge branch 'js/deprecate-grafts'Junio C Hamano1-3/+15
2018-05-23Merge branch 'ds/lazy-load-trees'Junio C Hamano1-1/+17
2018-05-22commit: use generation number in remove_redundant()Derrick Stolee1-1/+6
2018-05-22commit: add short-circuit to paint_down_to_common()Derrick Stolee1-4/+16
2018-05-22commit: use generation numbers for in_merge_bases()Derrick Stolee1-1/+8
2018-05-22commit-graph: always load commit-graph informationDerrick Stolee1-2/+5
2018-05-22commit: use generations in paint_down_to_common()Derrick Stolee1-1/+19
2018-05-21merge: use commit-slab in merge remote desc instead of commit->utilNguyễn Thái Ngọc Duy1-2/+10
2018-05-18commit: allow lookup_commit_graft to handle arbitrary repositoriesStefan Beller1-4/+4
2018-05-18commit: allow prepare_commit_graft to handle arbitrary repositoriesStefan Beller1-8/+6
2018-05-18cache: convert get_graft_file to handle arbitrary repositoriesStefan Beller1-1/+1
2018-05-18commit: convert read_graft_file to handle arbitrary repositoriesBrandon Williams1-3/+2
2018-05-18commit: convert register_commit_graft to handle arbitrary repositoriesBrandon Williams1-14/+15
2018-05-18commit: convert commit_graft_pos() to handle arbitrary repositoriesBrandon Williams1-4/+3
2018-05-18shallow: add repository argument to is_repository_shallowStefan Beller1-1/+1
2018-05-18commit: add repository argument to lookup_commit_graftJonathan Nieder1-2/+2
2018-05-16commit: add repository argument to prepare_commit_graftJonathan Nieder1-2/+3
2018-05-16commit: add repository argument to read_graft_fileJonathan Nieder1-2/+3
2018-05-16commit: add repository argument to register_commit_graftJonathan Nieder1-2/+2
2018-05-16commit: add repository argument to commit_graft_posJonathan Nieder1-4/+5
2018-05-16object: move grafts to object parserJonathan Nieder1-19/+23
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-16alloc: allow arbitrary repositories for alloc functionsStefan Beller1-0/+12
2018-05-09alloc: add repository argument to alloc_commit_nodeStefan Beller1-1/+1
2018-05-09object: add repository argument to create_objectStefan Beller1-1/+2
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-0/+3
2018-05-02commit: convert uses of get_sha1_hex to get_oid_hexbrian m. carlson1-2/+2
2018-04-30Deprecate support for .git/info/graftsJohannes Schindelin1-0/+10
2018-04-26commit: Let the callback of for_each_mergetag return on errorJohannes Schindelin1-3/+5
2018-04-11commit-graph: lazy-load trees for commitsDerrick Stolee1-1/+7
2018-04-11commit: create get_commit_tree() methodDerrick Stolee1-0/+10
2018-04-11treewide: rename tree to maybe_treeDerrick Stolee1-1/+1
2018-04-11Merge branch 'bw/c-plus-plus' into ds/lazy-load-treesJunio C Hamano1-10/+10
2018-04-11commit: integrate commit graph with commit parsingDerrick Stolee1-0/+3
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-3/+3
2018-03-14sha1_file: convert assert_sha1_type to object_idbrian m. carlson1-1/+1
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-10/+10
2018-02-22commit: rename 'new' variablesBrandon Williams1-9/+9
2018-02-15Merge branch 'po/object-id'Junio C Hamano1-8/+7
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-1/+1
2018-02-13Merge branch 'sg/cocci-move-array'Junio C Hamano1-4/+2
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-1/+1
2018-01-30commit: convert commit_tree* to object_idPatryk Obara1-8/+7
2018-01-22Use MOVE_ARRAYSZEDER Gábor1-4/+2
2017-12-28commit: remove unused function clear_commit_marks_for_object_array()René Scharfe1-14/+0
2017-12-28commit: use clear_commit_marks_many() in remove_redundant()René Scharfe1-2/+1
2017-12-28commit: avoid allocation in clear_commit_marks_many()René Scharfe1-1/+1
2017-11-08reduce_heads: fix memory leaksMartin Ågren1-0/+7
2017-09-29Merge branch 'ma/leakplugs'Junio C Hamano1-0/+1
2017-09-24commit: fix memory leak in `reduce_heads()`Martin Ågren1-0/+1
2017-09-19Merge branch 'rs/strbuf-leakfix'Junio C Hamano1-2/+5
2017-09-07commit: release strbuf on error return in commit_tree_extended()Rene Scharfe1-2/+5
2017-08-18commit: rewrite read_graft_linePatryk Obara1-15/+21
2017-08-18commit: allocate array using object_id sizePatryk Obara1-1/+2
2017-08-18commit: replace the raw buffer with strbuf in read_graft_linePatryk Obara1-12/+11
2017-08-11Merge branch 'rs/move-array'Junio C Hamano1-3/+2
2017-07-17use MOVE_ARRAYRené Scharfe1-3/+2
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-2/+2
2017-07-13commit: convert lookup_commit_graft to struct object_idStefan Beller1-3/+3
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-1/+1
2017-05-29Merge branch 'bm/interpret-trailers-cut-line-is-eom'Junio C Hamano1-6/+7
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-19/+19
2017-05-26wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy1-1/+1
2017-05-18interpret-trailers: honor the cut lineBrian Malehorn1-6/+7
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-2/+2
2017-05-08Convert lookup_tree to struct object_idbrian m. carlson1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-15/+15
2017-05-08shallow: convert shallow registration functions to object_idbrian m. carlson1-2/+2
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-6/+6
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-3/+3
2017-03-10Merge branch 'rs/commit-parsing-optim'Junio C Hamano1-12/+10
2017-02-27commit: don't check for space twice when looking for headerRené Scharfe1-10/+8
2017-02-27commit: be more precise when searching for headersRené Scharfe1-2/+2
2017-02-01commit.c: use strchrnul() to scan for one lineJunio C Hamano1-2/+1
2016-11-29commit: make ignore_non_trailer take buf/lenJonathan Tan1-11/+11
2016-10-11Merge branch 'rs/copy-array' into maintJunio C Hamano1-1/+1
2016-10-03Merge branch 'rs/copy-array'Junio C Hamano1-1/+1
2016-09-25use COPY_ARRAYRené Scharfe1-1/+1
2016-09-19i18n: commit: mark message for translationVasco Almeida1-4/+4
2016-08-19Merge branch 'rs/pull-signed-tag'Junio C Hamano1-7/+11