aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
AgeCommit message (Expand)AuthorFilesLines
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-0/+1
2023-10-20commit: ignore_non_trailer computes number of bytes to ignoreLinus Arver1-2/+2
2023-10-02commit: export add_header_signature to support handling signatures on tagsEric W. Biederman1-0/+1
2023-04-24commit.h: reduce unnecessary includesElijah Newren1-7/+4
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-20/+2
2023-03-28post-cocci: adjust comments for recent repo_* migrationÆvar Arnfjörð Bjarmason1-2/+2
2023-03-28cocci: apply the "commit.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-18/+0
2023-02-23pretty.h: move has_non_ascii() declaration from commit.hElijah Newren1-1/+0
2023-02-06add API: remove run_add_interactive() wrapper functionÆvar Arnfjörð Bjarmason1-2/+0
2022-10-17rebase: be stricter when reading state files containing oidsPhillip Wood1-0/+13
2022-03-17shallow: reset commit grafts when shallow is resetJonathan Tan1-0/+1
2022-03-07hooks: fix an obscure TOCTOU "did we just run a hook?" raceÆvar Arnfjörð Bjarmason1-1/+2
2022-01-06receive-pack.c: consolidate find header logicJohn Cai1-0/+5
2021-08-25advice: move advice.graftFileDeprecated squashing to commit.[ch]Ævar Arnfjörð Bjarmason1-0/+1
2021-03-26Merge branch 'cm/rebase-i-fixup-amend-reword'Junio C Hamano1-0/+3
2021-03-15sequencer: export and rename subject_length()Charvi Mendiratta1-0/+3
2021-02-22Merge branch 'bc/signed-objects-with-both-hashes'Junio C Hamano1-1/+11
2021-02-17Merge branch 'ds/commit-graph-genno-fix'Junio C Hamano1-2/+3
2021-02-17Merge branch 'ak/corrected-commit-date'Junio C Hamano1-2/+3
2021-02-10commit: allow parsing arbitrary buffers with headersbrian m. carlson1-0/+9
2021-02-01commit-graph: use repo_parse_commitDerrick Stolee1-2/+3
2021-01-28commit_graft_pos(): take an oid instead of a bare hashJeff King1-1/+1
2021-01-18commit: ignore additional signatures when parsing signed commitsbrian m. carlson1-1/+2
2021-01-18commit-graph: implement generation data chunkAbhishek Kumar1-0/+1
2021-01-18commit-graph: return 64-bit generation numberAbhishek Kumar1-2/+2
2021-01-06Merge branch 'en/merge-ort-recursive'Junio C Hamano1-0/+3
2020-12-16commit: move reverse_commit_list() from merge-recursiveElijah Newren1-0/+3
2020-12-08commit: implement commit_list_contains()Derrick Stolee1-0/+2
2020-09-30drop unused argc parametersJeff King1-1/+1
2020-09-18Merge branch 'mf/submodule-summary-with-correct-repository'Junio C Hamano1-1/+0
2020-09-03Merge branch 'pw/rebase-i-more-options'Junio C Hamano1-4/+3
2020-08-17am: stop exporting GIT_COMMITTER_DATEPhillip Wood1-4/+3
2020-06-24revision: use repository from rev_info when parsing commitsMichael Forney1-1/+0
2020-06-17commit: move members graph_pos, generation to a slabAbhishek Kumar1-2/+0
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-48/+0
2020-04-30commit: make 'commit_graft_pos' non-staticTaylor Blau1-0/+2
2020-04-24shallow.c: use '{commit,rollback}_shallow_file'Taylor Blau1-0/+2
2020-01-15gpg-interface: add minTrustLevel as a configuration optionHans Jerry Illikainen1-1/+11
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-05-13Merge branch 'dl/no-extern-in-func-decl'Junio C Hamano1-58/+58
2019-05-09Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano1-2/+3
2019-05-05*.[ch]: manually align parameter listsDenton Liu1-22/+22
2019-05-05*.[ch]: remove extern from function declarations using sedDenton Liu1-1/+1
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-35/+35
2019-04-25Merge branch 'jt/fetch-no-update-shallow-in-proto-v2'Junio C Hamano1-0/+4
2019-04-16commit.c: add repo_get_commit_tree()Nguyễn Thái Ngọc Duy1-2/+3
2019-04-01fetch-pack: call prepare_shallow_info only if v0Jonathan Tan1-0/+4
2019-04-01commit-graph write: don't die if the existing graph is corruptÆvar Arnfjörð Bjarmason1-0/+6
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano1-8/+35
2018-12-28commit: prepare free_commit_buffer and release_commit_memory for any repoStefan Beller1-2/+2
2018-11-18Merge branch 'jk/verify-sig-merge-into-void'Junio C Hamano1-0/+8
2018-11-18Merge branch 'ds/reachable-topo-order'Junio C Hamano1-0/+7
2018-11-14commit: prepare logmsg_reencode to handle arbitrary repositoriesStefan Beller1-0/+8
2018-11-14commit: prepare repo_unuse_commit_buffer to handle any repoStefan Beller1-1/+6
2018-11-14commit: prepare get_commit_buffer to handle any repoStefan Beller1-1/+6
2018-11-14commit: allow parse_commit* to handle any repoStefan Beller1-4/+13
2018-11-07merge: extract verify_merge_signature() helperJeff King1-0/+7
2018-11-06Merge branch 'js/shallow-and-fetch-prune'Junio C Hamano1-1/+3
2018-11-02commit/revisions: bookkeeping before refactoringDerrick Stolee1-0/+7
2018-11-02Merge branch 'pk/rebase-in-c-4-opts'Junio C Hamano1-0/+2
2018-10-25shallow: offer to prune only non-existing entriesJohannes Schindelin1-1/+3
2018-10-16Merge branch 'ds/commit-graph-with-grafts'Junio C Hamano1-0/+1
2018-10-11merge-base --fork-point: extract libified functionPratik Karki1-0/+2
2018-09-17Merge branch 'jk/trailer-fixes'Junio C Hamano1-1/+1
2018-08-23append_signoff: use size_t for string offsetsJeff King1-1/+1
2018-08-21commit-graph: not compatible with graftsDerrick Stolee1-0/+1
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-6/+12
2018-08-02Merge branch 'ds/commit-graph-fsck'Junio C Hamano1-0/+1
2018-07-20commit.h: remove method declarationsDerrick Stolee1-29/+0
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-5/+5
2018-07-17Merge branch 'ds/commit-graph-fsck' into jt/commit-graph-per-object-storeJunio C Hamano1-0/+1
2018-06-29commit.c: allow lookup_commit_reference to handle arbitrary repositoriesStefan Beller1-3/+2
2018-06-29commit.c: allow lookup_commit_reference_gently to handle arbitrary repositoriesStefan Beller1-3/+1
2018-06-29commit.c: allow get_cached_commit_buffer to handle arbitrary repositoriesStefan Beller1-2/+1
2018-06-29commit.c: allow set_commit_buffer to handle arbitrary repositoriesStefan Beller1-2/+1
2018-06-29commit.c: migrate the commit buffer to the parsed object storeStefan Beller1-0/+4
2018-06-29commit.c: allow parse_commit_buffer to handle arbitrary repositoriesStefan Beller1-2/+1
2018-06-29commit: allow lookup_commit to handle arbitrary repositoriesStefan Beller1-2/+1
2018-06-29commit: add repository argument to get_cached_commit_bufferStefan Beller1-1/+2
2018-06-29commit: add repository argument to set_commit_bufferStefan Beller1-1/+2
2018-06-29commit: add repository argument to parse_commit_bufferStefan Beller1-1/+2
2018-06-29commit: add repository argument to lookup_commitStefan Beller1-1/+2
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+3
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+4
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-5/+5
2018-06-27commit: force commit to parse from object databaseDerrick Stolee1-0/+1
2018-06-25Merge branch 'sb/object-store-alloc'Junio C Hamano1-0/+6
2018-06-25Merge branch 'ds/commit-graph-lockfile-fix'Junio C Hamano1-1/+6
2018-06-25Merge branch 'nd/commit-util-to-slab'Junio C Hamano1-2/+6
2018-05-30Merge branch 'nd/pack-struct-commit'Junio C Hamano1-1/+1
2018-05-23Merge branch 'js/deprecate-grafts'Junio C Hamano1-2/+2
2018-05-22commit-graph: always load commit-graph informationDerrick Stolee1-1/+1
2018-05-22commit: use generations in paint_down_to_common()Derrick Stolee1-0/+1
2018-05-22commit: add generation number to struct commitDerrick Stolee1-0/+4
2018-05-21commit.h: delete 'util' field in struct commitNguyễn Thái Ngọc Duy1-1/+5
2018-05-21merge: use commit-slab in merge remote desc instead of commit->utilNguyễn Thái Ngọc Duy1-1/+1
2018-05-18commit: allow lookup_commit_graft to handle arbitrary repositoriesStefan Beller1-2/+1
2018-05-18shallow: migrate shallow information into the object parserStefan Beller1-6/+3
2018-05-18commit: convert register_commit_graft to handle arbitrary repositoriesBrandon Williams1-2/+1
2018-05-18shallow: add repository argument to is_repository_shallowStefan Beller1-1/+2
2018-05-18shallow: add repository argument to register_shallowStefan Beller1-1/+2
2018-05-18shallow: add repository argument to set_alternate_shallow_fileStefan Beller1-1/+2
2018-05-18commit: add repository argument to lookup_commit_graftJonathan Nieder1-1/+2
2018-05-16commit: add repository argument to register_commit_graftJonathan Nieder1-1/+2
2018-05-16alloc: allow arbitrary repositories for alloc functionsStefan Beller1-0/+6
2018-05-13commit.h: rearrange 'index' to shrink struct commitNguyễn Thái Ngọc Duy1-1/+1
2018-04-26commit: Let the callback of for_each_mergetag return on errorJohannes Schindelin1-2/+2
2018-04-11commit-graph: lazy-load trees for commitsDerrick Stolee1-0/+6
2018-04-11commit: create get_commit_tree() methodDerrick Stolee1-0/+3
2018-04-11treewide: rename tree to maybe_treeDerrick Stolee1-1/+1
2018-04-11commit: integrate commit graph with commit parsingDerrick Stolee1-0/+3
2018-01-30commit: convert commit_tree* to object_idPatryk Obara1-5/+6
2018-01-23Merge branch 'rs/lose-leak-pending'Junio C Hamano1-1/+0
2017-12-28commit: remove unused function clear_commit_marks_for_object_array()René Scharfe1-1/+0
2017-12-12format: create pretty.h fileOlga Telezhnaya1-80/+1
2017-11-08reduce_heads: fix memory leaksMartin Ågren1-1/+17
2017-09-06Merge branch 'po/read-graft-line'Junio C Hamano1-1/+1
2017-08-24Merge branch 'rs/commit-h-single-parent-cleanup'Junio C Hamano1-5/+0
2017-08-19commit: remove unused inline function single_parent()René Scharfe1-5/+0
2017-08-18commit: replace the raw buffer with strbuf in read_graft_linePatryk Obara1-1/+1
2017-07-13commit: convert lookup_commit_graft to struct object_idStefan Beller1-1/+1
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-8/+8
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-6/+6
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-1/+1
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-7/+7
2017-03-10Merge branch 'rs/log-email-subject'Junio C Hamano1-2/+4
2017-03-01pretty: use fmt_output_email_subject()René Scharfe1-2/+4
2016-11-29commit: make ignore_non_trailer take buf/lenJonathan Tan1-1/+1
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-0/+2
2016-08-19Merge branch 'rs/pull-signed-tag'Junio C Hamano1-1/+3
2016-08-13commit: use FLEX_ARRAY in struct merge_remote_descRené Scharfe1-1/+1
2016-08-13commit: factor out set_merge_remote_desc()René Scharfe1-0/+2
2016-07-28Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maintJunio C Hamano1-0/+1
2016-07-19Merge branch 'jk/printf-format'Junio C Hamano1-4/+0
2016-07-11Merge branch 'js/find-commit-subject-ignore-leading-blanks'Junio C Hamano1-0/+1
2016-07-08commit.c: remove print_commit_list()Junio C Hamano1-4/+0
2016-07-06Merge branch 'nd/graph-width-padded'Junio C Hamano1-0/+1
2016-06-22pretty: make the skip_blank_lines() function publicJohannes Schindelin1-0/+1
2016-06-16pretty: pass graph width to pretty formatting for use in '%>|(N)'Josef Kufner1-0/+1
2016-06-13shallow.c: implement a generic shallow boundary finder based on rev-listNguyễn Thái Ngọc Duy1-0/+2
2016-06-06pretty: support "mboxrd" output formatEric Wong1-0/+6
2016-03-30pretty: allow tweaking tabwidth in --expand-tabsJunio C Hamano1-1/+1
2016-03-30pretty: expand tabs in indented logs to make things line up properlyLinus Torvalds1-0/+1
2015-08-03Merge branch 'jk/date-mode-format'Junio C Hamano1-1/+1
2015-08-03Merge branch 'bc/gpg-verify-raw'Junio C Hamano1-1/+1
2015-06-29convert "enum date_mode" into a structJeff King1-1/+1
2015-06-25Merge branch 'jk/squelch-missing-link-warning-for-unreachable' into maintJunio C Hamano1-1/+5
2015-06-22gpg: centralize signature checkbrian m. carlson1-1/+1
2015-06-11Merge branch 'jk/squelch-missing-link-warning-for-unreachable'Junio C Hamano1-1/+5
2015-06-01add quieter versions of parse_{tree,commit}Jeff King1-1/+5
2015-05-05Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2015-03-13commit: convert parts to struct object_idbrian m. carlson1-2/+2
2015-01-15shallow.c: make check_shallow_file_for_update() staticJunio C Hamano1-1/+0
2015-01-07Merge branch 'jc/merge-bases'Junio C Hamano1-2/+5
2014-12-22Merge branch 'cc/interpret-trailers-more'Junio C Hamano1-0/+3
2014-11-10commit: make ignore_non_trailer() non staticChristian Couder1-0/+3
2014-10-30get_merge_bases(): always clean-up object flagsJunio C Hamano1-2/+5
2014-09-19Merge branch 'da/styles'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-0/+11
2014-09-11Merge branch 'jk/name-decoration-alloc'Junio C Hamano1-2/+14
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-1/+1
2014-08-27commit: provide a function to find a header in a bufferJeff King1-0/+11
2014-08-27log-tree: use FLEX_ARRAY in name_decorationJeff King1-1/+1
2014-08-26log-tree: make name_decoration hash staticJeff King1-1/+1
2014-08-26log-tree: make add_name_decoration a public functionJeff King1-0/+12
2014-07-30pretty: make empty userformats truly emptyJeff King1-0/+1
2014-07-27Merge branch 'cc/replace-graft'Junio C Hamano1-0/+2
2014-07-22Merge branch 'kb/perf-trace'Junio C Hamano1-0/+1
2014-07-21replace: remove signature when using --graftChristian Couder1-0/+2
2014-07-13trace: improve trace performanceKarsten Blees1-0/+1
2014-07-07commit: add for_each_mergetag()Christian Couder1-0/+5
2014-06-13reuse cached commit buffer when parsing signaturesJeff King1-1/+1
2014-06-13commit: record buffer length in cacheJeff King1-4/+4
2014-06-13commit: convert commit->buffer to a slabJeff King1-1/+0
2014-06-13convert logmsg_reencode to get_commit_bufferJeff King1-1/+0
2014-06-13provide helpers to access the commit bufferJeff King1-0/+21
2014-06-13provide a helper to set the commit bufferJeff King1-0/+6
2014-06-13provide a helper to free commit bufferJeff King1-0/+11
2014-06-12logmsg_reencode: return const bufferJeff King1-4/+4
2014-06-12commit_tree: take a pointer/len pair rather than a const strbufJeff King1-2/+4
2014-04-08Merge branch 'bp/commit-p-editor' into maintJunio C Hamano1-0/+3
2014-03-28Merge branch 'bp/commit-p-editor'Junio C Hamano1-0/+3
2014-03-18commit: fix patch hunk editing with "commit -p -m"Benoit Pierre1-0/+3
2014-02-27shallow: automatically clean up shallow tempfilesJeff King1-1/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-4/+33
2014-01-10Merge branch 'nd/commit-tree-constness'Junio C Hamano1-2/+2
2014-01-06shallow: remove unused codeRamsay Jones1-2/+0
2013-12-26commit.c: make "tree" a const pointer in commit_tree*()Nguyễn Thái Ngọc Duy1-2/+2
2013-12-10prune: clean .git/shallow after pruning objectsNguyễn Thái Ngọc Duy1-0/+1
2013-12-10receive-pack: allow pushes that update .git/shallowNguyễn Thái Ngọc Duy1-0/+9
2013-12-10add GIT_SHALLOW_FILE to propagate --shallow-file to subprocessesNguyễn Thái Ngọc Duy1-1/+1
2013-12-10shallow.c: steps 6 and 7 to select new commits for .git/shallowNguyễn Thái Ngọc Duy1-0/+3
2013-12-10shallow.c: the 8 steps to select new commits for .git/shallowNguyễn Thái Ngọc Duy1-0/+15
2013-12-10shallow.c: extend setup_*_shallow() to accept extra shallow commitsNguyễn Thái Ngọc Duy1-3/+5
2013-12-10make the sender advertise shallow commits to the receiverNguyễn Thái Ngọc Duy1-0/+1
2013-12-05Merge branch 'jk/robustify-parse-commit'Junio C Hamano1-0/+1
2013-10-24log_tree_diff: die when we fail to parse a commitJeff King1-0/+1
2013-09-20Merge branch 'nd/fetch-into-shallow'Junio C Hamano1-0/+4
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-1/+1