aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
AgeCommit message (Expand)AuthorFilesLines
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
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