aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
AgeCommit message (Expand)AuthorFilesLines
2017-05-08shallow: convert shallow registration functions to object_idbrian m. carlson1-2/+2
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
2016-08-13commit: use FLEX_ARRAY in struct merge_remote_descRené Scharfe1-2/+1
2016-08-13commit: factor out set_merge_remote_desc()René Scharfe1-7/+12
2016-08-13commit: use xstrdup() in get_merge_parent()René Scharfe1-1/+1
2016-07-28Merge branch 'js/sign-empty-commit-fix' into maintJunio C Hamano1-1/+6
2016-07-28Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maintJunio C Hamano1-1/+1
2016-07-19Merge branch 'jk/printf-format'Junio C Hamano1-10/+0
2016-07-13Merge branch 'js/sign-empty-commit-fix'Junio C Hamano1-1/+6
2016-07-11Merge branch 'js/find-commit-subject-ignore-leading-blanks'Junio C Hamano1-1/+1
2016-07-08commit.c: remove print_commit_list()Junio C Hamano1-10/+0
2016-06-29commit -S: avoid invalid pointer with empty messageJohannes Schindelin1-1/+6
2016-06-22commit.c: make find_commit_subject() more robustJohannes Schindelin1-1/+1
2016-02-22use st_add and st_mult for allocation size computationJeff King1-1/+1
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-1/+1
2015-12-11Merge branch 'rs/pop-commit' into maintJunio C Hamano1-20/+7
2015-11-20Remove get_object_hash.brian m. carlson1-6/+6
2015-11-20Convert struct object to object_idbrian m. carlson1-10/+10
2015-11-20Add several uses of get_object_hash.brian m. carlson1-6/+6
2015-10-30Merge branch 'rs/pop-commit'Junio C Hamano1-20/+7
2015-10-26use pop_commit() for consuming the first entry of a struct commit_listRené Scharfe1-20/+7
2015-08-03Merge branch 'jc/commit-slab'Junio C Hamano1-8/+20
2015-08-03Merge branch 'bc/gpg-verify-raw'Junio C Hamano1-15/+6
2015-06-25Merge branch 'jk/squelch-missing-link-warning-for-unreachable' into maintJunio C Hamano1-2/+3
2015-06-22gpg: centralize signature checkbrian m. carlson1-2/+6
2015-06-22verify-tag: share code with verify-commitbrian m. carlson1-14/+1
2015-06-11Merge branch 'jk/squelch-missing-link-warning-for-unreachable'Junio C Hamano1-2/+3
2015-06-01add quieter versions of parse_{tree,commit}Jeff King1-2/+3
2015-05-22commit-slab: introduce slabname##_peek() functionJunio C Hamano1-8/+20
2015-03-13commit: convert parts to struct object_idbrian m. carlson1-26/+30
2015-01-07Merge branch 'jc/merge-bases'Junio C Hamano1-8/+21
2014-12-22Merge branch 'cc/interpret-trailers-more'Junio C Hamano1-0/+46
2014-11-10commit: make ignore_non_trailer() non staticChristian Couder1-0/+46
2014-10-30get_merge_bases(): always clean-up object flagsJunio C Hamano1-8/+21
2014-10-08Merge branch 'jc/push-cert'Junio C Hamano1-36/+0
2014-09-19Merge branch 'da/styles'Junio C Hamano1-1/+1
2014-09-15gpg-interface: move parse_gpg_output() to where it should beJunio C Hamano1-36/+0
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-1/+1
2014-08-27record_author_date(): use find_commit_header()Jeff King1-14/+8
2014-08-27record_author_date(): fix memory leak on malformed commitJeff King1-1/+1
2014-08-27commit: provide a function to find a header in a bufferJeff King1-0/+22
2014-07-28add object_as_type helper for casting objectsJeff King1-17/+2
2014-07-28move setting of object->type to alloc_* functionsJeff King1-4/+2
2014-07-27Merge branch 'cc/replace-graft'Junio C Hamano1-0/+34
2014-07-27Merge branch 'jk/stable-prio-queue'Junio C Hamano1-23/+19
2014-07-22Merge branch 'rs/code-cleaning'Junio C Hamano1-6/+1
2014-07-22Merge branch 'jk/alloc-commit-id'Junio C Hamano1-21/+4
2014-07-22Merge branch 'bg/xcalloc-nmemb-then-size' into maintJunio C Hamano1-1/+1
2014-07-21replace: remove signature when using --graftChristian Couder1-0/+34
2014-07-21Merge branch 'cc/for-each-mergetag'Junio C Hamano1-0/+13
2014-07-17use commit_list_count() to count the members of commit_listsRené Scharfe1-6/+1
2014-07-16Merge branch 'rs/code-cleaning'Junio C Hamano1-6/+1
2014-07-15paint_down_to_common: use prio_queueJeff King1-23/+19
2014-07-13add object_as_type helper for casting objectsJeff King1-17/+2
2014-07-13move setting of object->type to alloc_* functionsJeff King1-4/+2
2014-07-10commit: use commit_list_append() instead of duplicating its codeRené Scharfe1-6/+1
2014-07-10Merge branch 'mg/verify-commit'Junio C Hamano1-0/+1
2014-07-09Merge branch 'jk/skip-prefix'Junio C Hamano1-4/+2
2014-07-07commit: add for_each_mergetag()Christian Couder1-0/+13
2014-07-02Merge branch 'jk/commit-buffer-length'Junio C Hamano1-38/+91
2014-06-23gpg-interface: provide access to the payloadMichael J Gruber1-0/+1
2014-06-20refactor skip_prefix to return a booleanJeff King1-4/+2
2014-06-13reuse cached commit buffer when parsing signaturesJeff King1-17/+10
2014-06-13commit: record buffer length in cacheJeff King1-18/+36
2014-06-13commit: convert commit->buffer to a slabJeff King1-7/+13
2014-06-13use get_commit_buffer to avoid duplicate codeJeff King1-13/+3
2014-06-13provide helpers to access the commit bufferJeff King1-0/+28
2014-06-13provide a helper to set the commit bufferJeff King1-1/+6
2014-06-13provide a helper to free commit bufferJeff King1-0/+13
2014-06-12commit: push commit_index update into alloc_commit_nodeJeff King1-2/+0
2014-06-12commit_tree: take a pointer/len pair rather than a const strbufJeff King1-5/+7
2014-05-27commit.c: rearrange xcalloc argumentsBrian Gesiak1-1/+1
2014-04-03Merge branch 'nd/log-show-linear-break'Junio C Hamano1-1/+1
2014-03-25object.h: centralize object flag allocationNguyễn Thái Ngọc Duy1-1/+1
2014-03-18Merge branch 'dd/use-alloc-grow'Junio C Hamano1-6/+2
2014-03-18Merge branch 'dd/find-graft-with-sha1-pos'Junio C Hamano1-15/+9
2014-03-04commit.c: use skip_prefix() instead of starts_with()Tanay Abhra1-8/+6
2014-03-03commit.c: use ALLOC_GROW() in register_commit_graft()Dmitry S. Dolzhenko1-6/+2
2014-02-27commit.c: use the generic "sha1_pos" function for lookupDmitry S. Dolzhenko1-15/+9
2014-01-10Merge branch 'vm/octopus-merge-bases-simplify'Junio C Hamano1-18/+18
2014-01-10Merge branch 'js/lift-parent-count-limit'Junio C Hamano1-5/+5
2014-01-10Merge branch 'nd/commit-tree-constness'Junio C Hamano1-2/+2
2014-01-03get_octopus_merge_bases(): cleanup redundant variableVasily Makarov1-18/+18
2013-12-27Remove the line length limit for graft filesJohannes Schindelin1-5/+5
2013-12-26commit.c: make "tree" a const pointer in commit_tree*()Nguyễn Thái Ngọc Duy1-2/+2
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-3/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-3/+3
2013-12-05Merge branch 'jk/robustify-parse-commit'Junio C Hamano1-1/+8
2013-10-24assume parse_commit checks for NULL commitJeff King1-1/+1
2013-10-24log_tree_diff: die when we fail to parse a commitJeff King1-0/+7
2013-09-09Merge branch 'tr/log-full-diff-keep-true-parents'Junio C Hamano1-0/+16
2013-08-05Merge branch 'bc/commit-invalid-utf8'Junio C Hamano1-1/+1
2013-08-05commit: typofix for xxFFF[EF] checkJunio C Hamano1-1/+1
2013-08-01log: use true parents for diff even when rewritingThomas Rast1-0/+16
2013-07-18Merge branch 'bc/commit-invalid-utf8'Junio C Hamano1-6/+32
2013-07-09commit: reject non-charactersPeter Krefting1-2/+5
2013-07-04commit: reject overlong UTF-8 sequencesbrian m. carlson1-6/+12
2013-07-04commit: reject invalid UTF-8 codepointsbrian m. carlson1-5/+22
2013-07-02commit.c: make compare_commits_by_commit_date globalJeff King1-1/+1
2013-07-01Merge branch 'jc/topo-author-date-sort'Junio C Hamano1-27/+118
2013-07-01Merge branch 'jk/commit-info-slab'Junio C Hamano1-9/+28
2013-06-11log: --author-date-orderJunio C Hamano1-0/+74
2013-06-11sort-in-topological-order: use prio-queueJunio C Hamano1-31/+44
2013-06-11toposort: rename "lifo" fieldJunio C Hamano1-4/+8
2013-06-07commit-slab: introduce a macro to define a slab for new typeJunio C Hamano1-58/+14
2013-04-13commit-slab: avoid large reallocJunio C Hamano1-20/+42
2013-04-13commit: allow associating auxiliary info on-demandJeff King1-9/+50
2013-04-12Sync with 'maint'Junio C Hamano1-1/+1
2013-04-12Correct common spelling mistakes in comments and testsStefano Lattarini1-1/+1
2013-03-31merge/pull Check for untrusted good GPG signaturesSebastian Götte1-5/+9
2013-03-31commit.c/GPG signature verification: Also look at the first GPG status lineSebastian Götte1-5/+12
2013-03-31Move commit GPG signature verification to commit.cSebastian Götte1-0/+59
2013-03-05commit.c: use clear_commit_marks_many() in in_merge_bases_many()Junio C Hamano1-2/+1
2013-03-05commit.c: add in_merge_bases_many()Junio C Hamano1-6/+18
2013-03-05commit.c: add clear_commit_marks_many()Junio C Hamano1-6/+13
2012-10-29Move print_commit_list to libgit.aNguyễn Thái Ngọc Duy1-0/+10
2012-10-08Merge branch 'jc/merge-bases-paint-fix'Junio C Hamano1-0/+5
2012-10-04paint_down_to_common(): parse commit before relying on its timestampJunio C Hamano1-0/+5
2012-09-15commit.c: mark a file-scope private symbol as staticJunio C Hamano1-2/+5
2012-09-11Merge branch 'jc/merge-bases'Junio C Hamano1-91/+120
2012-09-07Merge branch 'lt/commit-tree-guess-utf-8'Junio C Hamano1-2/+86
2012-08-31reduce_heads(): reimplement on top of remove_redundant()Junio C Hamano1-38/+18
2012-08-30get_merge_bases_many(): walk from many tips in parallelJunio C Hamano1-21/+58
2012-08-30in_merge_bases(): use paint_down_to_common()Junio C Hamano1-10/+7
2012-08-30merge_bases_many(): split out the logic to paint historyJunio C Hamano1-19/+28
2012-08-28in_merge_bases(): omit unnecessary redundant common ancestor reductionThomas Rast1-1/+4
2012-08-27in_merge_bases(): support only one "other" commitJunio C Hamano1-6/+9
2012-08-21commit/commit-tree: correct latin1 to utf-8Linus Torvalds1-2/+86
2012-07-22Merge branch 'jc/sha1-name-more'Junio C Hamano1-1/+1
2012-07-09sha1_name.c: introduce get_sha1_committish()Junio C Hamano1-1/+1
2012-05-24ident: rename IDENT_ERROR_ON_NO_NAME to IDENT_STRICTJeff King1-2/+2
2012-04-25commit: remove commit_list_reverse()René Scharfe1-15/+0
2012-04-25sequencer: export commit_list_append()René Scharfe1-0/+27
2012-04-23Merge branch 'rs/commit-list-sort-in-batch'Junio C Hamano1-6/+38
2012-04-17mergesort: rename it to llist_mergesort()Junio C Hamano1-2/+2
2012-04-11revision: insert unsorted, then sort in prepare_revision_walk()René Scharfe1-0/+15
2012-04-11commit: use mergesort() in commit_list_sort_by_date()René Scharfe1-6/+23
2012-01-29Merge branch 'nd/index-pack-no-recurse'Junio C Hamano1-2/+11
2012-01-16Eliminate recursion in setting/clearing marks in commit listNguyễn Thái Ngọc Duy1-2/+11
2012-01-06Merge branch 'jc/show-sig'Junio C Hamano1-7/+111
2012-01-05commit --amend -S: strip existing gpgsig headersJunio C Hamano1-4/+22
2011-12-22Merge branch 'nd/war-on-nul-in-commit'Junio C Hamano1-3/+6
2011-12-15commit_tree(): refuse commit messages that contain NULsNguyễn Thái Ngọc Duy1-0/+3
2011-12-15Convert commit_tree() to take strbuf as messageNguyễn Thái Ngọc Duy1-2/+2
2011-11-12log: --show-signatureJunio C Hamano1-0/+44
2011-11-12commit: teach --gpg-sign optionJunio C Hamano1-3/+45
2011-11-09commit: teach --amend to carry forward extra headersJunio C Hamano1-1/+66
2011-11-09commit: copy merged signed tags to headers of merge commitJunio C Hamano1-4/+92
2011-11-08merge: make usage of commit->util more extensibleJunio C Hamano1-0/+19
2011-10-13Merge branch 'rs/pending'Junio C Hamano1-0/+14
2011-10-13Merge branch 'nd/maint-autofix-tag-in-head'Junio C Hamano1-0/+12
2011-10-03commit: factor out clear_commit_marks_for_object_arrayRené Scharfe1-0/+14
2011-09-18Accept tags in HEAD or MERGE_HEADNguyễn Thái Ngọc Duy1-0/+12
2011-08-28Merge branch 'nd/decorate-grafts'Junio C Hamano1-16/+6
2011-08-25whitespace: have SP on both sides of an assignment "="Junio C Hamano1-1/+1
2011-08-18Move write_shallow_commits to fetch-pack.cNguyễn Thái Ngọc Duy1-18/+0
2011-08-18Add for_each_commit_graft() to iterate all graftsNguyễn Thái Ngọc Duy1-0/+8
2011-02-07Add const to parse_{commit,tag}_buffer()Nguyễn Thái Ngọc Duy1-3/+3
2010-12-22Merge branch 'tf/commit-list-prefix'Junio C Hamano1-12/+12
2010-12-03Merge branch 'pn/commit-autosquash'Junio C Hamano1-0/+13
2010-12-01commit.c: Remove backward goto in read_craft_line()Ralf Thielow1-6/+7
2010-11-29commit: Add commit_list prefix in two function names.Thiago Farina1-12/+12
2010-11-04commit: helper methods to reduce redundant blocks of codePat Notz1-0/+13
2010-08-18Merge branch 'cc/find-commit-subject'Junio C Hamano1-0/+19
2010-07-23revert: refactor code to find commit subject in find_commit_subject()Christian Couder1-0/+19
2010-04-01make commit_tree a library functionJeff King1-0/+55
2010-01-29Merge branch 'maint-1.6.5' into maintJunio C Hamano1-1/+1
2010-01-29fix memcpy of overlapping areaJeff King1-1/+1
2009-11-20Merge branch 'jh/notes' (early part)Junio C Hamano1-0/+1
2009-11-20Merge branch 'sp/smart-http'Junio C Hamano1-6/+4
2009-11-15Merge branch 'jc/maint-1.6.3-graft-trailing-space' into maintJunio C Hamano1-2/+2
2009-10-30Merge branch 'jc/maint-1.6.3-graft-trailing-space'Junio C Hamano1-2/+2
2009-10-30fetch-pack: Use a strbuf to compose the want listShawn O. Pearce1-6/+4
2009-10-19Introduce commit notesJohannes Schindelin1-0/+1
2009-10-14info/grafts: allow trailing whitespaces at the end of lineJunio C Hamano1-2/+2
2009-09-13use write_str_in_full helper to avoid literal string lengthsJim Meyering1-1/+1
2009-08-27commit.c: rename variable named 'n' which masks previous declarationBrandon Casey1-5/+5
2009-07-25Merge branch 'js/maint-graft-unhide-true-parents'Junio C Hamano1-1/+5
2009-07-24git repack: keep commits hidden by a graftJohannes Schindelin1-1/+5
2009-07-06Allow the Unix epoch to be a valid commit dateEric Wong1-5/+1
2009-05-27bisect: drop unparse_commit() and use clear_commit_marks()Christian Couder1-20/+0
2009-05-17commit: add function to unparse a commit and its parentsChristian Couder1-0/+20
2009-02-10Revert "Merge branch 'js/notes'"Junio C Hamano1-1/+0
2009-02-05Merge branch 'js/notes'Junio C Hamano1-0/+1
2009-01-28Make has_commit() non-staticJake Goulding1-0/+15
2008-12-21Introduce commit notesJohannes Schindelin1-0/+1
2008-10-02commit.c: make read_graft_file() staticNanako Shiraishi1-1/+1
2008-07-23sort_in_topological_order(): avoid setting a commit flagJohannes Schindelin1-7/+6
2008-07-14reduce_heads(): protect from duplicate inputJunio C Hamano1-2/+9
2008-07-13reduce_heads(): thinkofixSverre Hvammen Johansen1-1/+1
2008-06-30Introduce reduce_heads()Junio C Hamano1-0/+45