aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
AgeCommit message (Expand)AuthorFilesLines
2013-12-27Remove the line length limit for graft filesJohannes Schindelin1-5/+5
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
2008-06-30Introduce get_merge_bases_many()Junio C Hamano1-18/+38
2008-06-30Introduce get_octopus_merge_bases() in commit.cMiklos Vajna1-0/+27
2008-06-30Move commit_list_count() to commit.cMiklos Vajna1-0/+8
2008-06-08Remove unused code in parse_commit_buffer()Miklos Vajna1-7/+1
2008-02-25builtin-fsck: reports missing parent commitsMartin Koegler1-1/+1
2008-02-25Remove unused object-ref codeMartin Koegler1-11/+0
2008-02-18check return value from parse_commit() in various functionsMartin Koegler1-2/+1
2008-02-18parse_commit: don't fail, if object is NULLMartin Koegler1-0/+2
2008-02-18check results of parse_commit in merge_basesMartin Koegler1-3/+6
2008-01-20parse_commit_buffer: tighten checks while parsingMartin Koegler1-7/+20
2007-11-18Merge branch 'lt/rev-list-interactive'Junio C Hamano1-98/+52
2007-11-05Split off the pretty print stuff into its own fileJohannes Schindelin1-718/+0
2007-11-04Simplify topo-sort logicLinus Torvalds1-98/+52
2007-11-01format-patch -s: add MIME encoding header if signer's name requires soJunio C Hamano1-3/+2
2007-10-15Merge branch 'maint'Shawn O. Pearce1-9/+14
2007-10-15clear_commit_marks(): avoid deep recursionJohannes Schindelin1-9/+14
2007-10-03Merge branch 'mv/unknown'Junio C Hamano1-3/+0
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-1/+1
2007-09-26Don't use "<unknown>" for placeholders and suppress printing of empty user fo...Michal Vitecek1-3/+0
2007-09-20strbuf API additions and enhancements.Pierre Habouzit1-1/+1
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-10/+6
2007-09-16Remove preemptive allocations.Pierre Habouzit1-30/+5
2007-09-16Refactor replace_encoding_header.Pierre Habouzit1-36/+23
2007-09-10Rework pretty_print_commit to use strbufs instead of custom buffers.Pierre Habouzit1-209/+124
2007-09-10Change semantics of interpolate to work like snprintf.Pierre Habouzit1-5/+4
2007-09-03Export format_commit_message()Ren,bi(B Scharfe1-4/+5
2007-07-22Avoid to duplicate commit message when is not encodedMarco Costalba1-1/+4
2007-07-13Make show_rfc2822_date() just another date output format.Junio C Hamano1-4/+4
2007-07-13Support output ISO 8601 format datesRobin Rosenberg1-1/+5
2007-06-22Merge branch 'jc/oneline'Junio C Hamano1-2/+2
2007-06-22Merge branch 'ei/oneline+add-empty'Junio C Hamano1-121/+272
2007-06-16pp_header(): work around possible memory corruptionJohannes Schindelin1-2/+2
2007-06-13More staticJunio C Hamano1-1/+1
2007-06-13Extend --pretty=oneline to cover the first paragraph,Junio C Hamano1-134/+254
2007-06-13Lift 16kB limit of log message outputJunio C Hamano1-12/+43
2007-06-08Even more missing staticJunio C Hamano1-9/+0
2007-06-07War on whitespaceJunio C Hamano1-7/+7
2007-06-02Use =20 when rfc2047 encoding spaces.Kristian Høgsberg1-3/+7
2007-05-16Merge branch 'maint'Junio C Hamano1-0/+1
2007-05-16format-patch: add MIME-Version header when we add content-type.Jeff King1-0/+1
2007-05-06Merge branch 'maint'Junio C Hamano1-1/+3
2007-05-05Small correction in reading of commit headersAlex Riesen1-1/+3
2007-05-03Merge branch 'maint'Junio C Hamano1-8/+0
2007-05-03Make xstrndup commonDaniel Barkalow1-8/+0
2007-04-25Add --date={local,relative,default}Junio C Hamano1-6/+6
2007-04-16Clean up object creation to use more common codeLinus Torvalds1-6/+2
2007-04-11Add %m to '--pretty=format:'Junio C Hamano1-3/+13
2007-03-28Merge branch 'maint' to synchronize with 1.5.0.6Junio C Hamano1-2/+5
2007-03-28commit: fix pretty-printing of messages with "\nencoding "Jeff King1-2/+5
2007-03-28Fix "--pretty=format:" encoding itemJeff King1-1/+2
2007-03-28Fix "--pretty=format:" for parent related items.Junio C Hamano1-4/+8
2007-03-27--pretty=format: fix broken %ct and %at interpolationJeff King1-1/+1
2007-03-19Replace remaining instances of strdup with xstrdup.James Bowes1-1/+1
2007-03-07General const correctness fixesShawn O. Pearce1-12/+9
2007-03-02Merge branch 'js/commit-format'Junio C Hamano1-0/+195
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-3/+3
2007-02-22pretty-formats: add 'format:<string>'Johannes Schindelin1-0/+195
2007-02-13Merge branch 'jc/merge-base' (early part)Junio C Hamano1-3/+6
2007-02-02Disallow invalid --pretty= abbreviationsEric Wong1-1/+2
2007-01-13Use log output encoding in --pretty=email headers.Junio C Hamano1-27/+55
2007-01-09Allow in_merge_bases() to take more than one reference commits.Junio C Hamano1-3/+6
2007-01-08merge-base: do not leak commit listJunio C Hamano1-2/+4
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-2/+4
2007-01-03Skip excessive blank lines before commit bodyLars Hjemli1-1/+4
2006-12-31i18n: do not leak 'encoding' header even when we cheat the conversion.Junio C Hamano1-4/+6
2006-12-30i18n: drop "encoding" header in the output after re-coding.Junio C Hamano1-0/+45
2006-12-30commit re-encoding: fix confusion between no and default conversion.Junio C Hamano1-0/+2
2006-12-28Merge branch 'jc/utf8'Junio C Hamano1-4/+62
2006-12-27UTF-8: introduce i18n.logoutputencoding.Junio C Hamano1-12/+15
2006-12-27Merge branch 'master' into js/shallowJunio C Hamano1-5/+22
2006-12-26Teach log family --encodingJunio C Hamano1-3/+58
2006-12-20Move in_merge_bases() to commit.cJunio C Hamano1-0/+17
2006-12-17rev-list --left-rightJunio C Hamano1-5/+5
2006-11-24allow deepening of a shallow repositoryJohannes Schindelin1-0/+13
2006-11-24support fetching into a shallow repositoryJohannes Schindelin1-0/+21
2006-10-11commit: fix a segfault when displaying a commit with unreachable parentsEric Wong1-4/+7
2006-08-28Add --relative-date option to the revision interfaceJonas Fonseca1-6/+14
2006-08-26Relative timestamps in git logLinus Torvalds1-2/+2
2006-08-17Indentation fix.Tilman Sauerbeck1-6/+6
2006-08-17Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.David Rientjes1-1/+1
2006-08-15remove unnecessary initializationsDavid Rientjes1-3/+3
2006-07-14Merge branch 'lt/unitype'Junio C Hamano1-3/+3
2006-07-13format-patch: Generate a newline between the subject header and the message bodyRobert Shearman1-2/+9
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Linus Torvalds1-3/+3
2006-07-09merge-base: update the clean-up postprocessingJunio C Hamano1-190/+90
2006-07-04Re-fix clear_commit_marks().Junio C Hamano1-5/+8
2006-07-03revert clear-commit-marks for now.Junio C Hamano1-7/+6
2006-07-03get_merge_bases: clean up even when there is no common commit.Junio C Hamano1-1/+2
2006-07-02commit.c: do not redefine UNINTERESTING bit.Junio C Hamano1-20/+20
2006-07-02Fold get_merge_bases_clean() into get_merge_bases()Rene Scharfe1-15/+6
2006-07-01Make clear_commit_marks() clean harderRene Scharfe1-4/+3
2006-07-01Add get_merge_bases_clean()Rene Scharfe1-4/+16
2006-06-29move get_merge_bases() to core lib.Johannes Schindelin1-0/+240
2006-06-28connect.c: check the commit buffer boundary while parsing.Junio C Hamano1-4/+8
2006-06-28Make some strings constTimo Hirvonen1-1/+1
2006-06-19fix rfc2047 formatter.Junio C Hamano1-4/+17
2006-06-19Add specialized object allocatorLinus Torvalds1-1/+1
2006-06-17Move "void *util" from "struct object" into "struct commit"Linus Torvalds1-2/+2