aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
AgeCommit message (Expand)AuthorFilesLines
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
2006-06-17Shrink "struct object" a bitLinus Torvalds1-4/+4
2006-05-21builtin format-patch: squelch content-type for 7-bit ASCIIJunio C Hamano1-2/+15
2006-05-21CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields.Junio C Hamano1-7/+72
2006-05-21fmt-patch: Support --attachJohannes Schindelin1-1/+9
2006-05-21Merge branch 'master' into js/fmt-patchJunio C Hamano1-16/+25
2006-05-17commit: allow --pretty= args to be abbreviatedEric Wong1-14/+24
2006-05-05Teach fmt-patch about --numberedJohannes Schindelin1-4/+1
2006-05-01Use RFC2822 dates from "git fmt-patch".Junio C Hamano1-1/+2
2006-04-22git-fmt-patch: thinkofix to show [PATCH] properly.Junio C Hamano1-2/+3
2006-04-19Minor tweak on subject line in --pretty=emailJunio C Hamano1-1/+1
2006-04-18Tentative built-in format-patch.Junio C Hamano1-5/+31
2006-04-17Allow empty lines in info/graftsYann Dirson1-1/+1
2006-04-16reading $GIT_DIR/info/graft - skip comments correctly.Junio C Hamano1-1/+3
2006-04-14Clean up trailing whitespace when pretty-printing commitsLinus Torvalds1-10/+5
2006-04-12When showing a commit message, do not lose an incomplete line.Linus Torvalds1-2/+2
2006-04-07blame -S <ancestry-file>Junio C Hamano1-55/+79
2006-04-04Replace xmalloc+memset(0) with xcalloc.Peter Eriksen1-2/+1
2006-03-10Make it possible to not clobber object.util in sort_in_topological_order (tak...Fredrik Kuivinen1-9/+27
2006-02-23Merge fixes early for next maint series.Junio C Hamano1-1/+2
2006-02-22Give no terminating LF to error() function.Junio C Hamano1-1/+2
2006-02-15topo-order: make --date-order optional.Junio C Hamano1-3/+10
2006-02-02commit.c: "Merge" fix in pretty_print_commit.Junio C Hamano1-5/+5
2006-01-28pretty_print_commit: honor grafts.Junio C Hamano1-26/+26
2006-01-28pretty_print_commit(): pass commit object instead of commit->buffer.Junio C Hamano1-1/+2
2006-01-28diff-tree: abbreviate merge parent object names with --abbrev --pretty.Junio C Hamano1-5/+14
2006-01-15describe: omit clearing marks on the last one.Junio C Hamano1-2/+4
2006-01-08GIT 1.1.0v1.1.0Junio C Hamano1-1/+1
2006-01-07describe: allow more than one revs to be named.Junio C Hamano1-0/+13
2006-01-07[PATCH] Compilation: zero-length array declaration.Junio C Hamano1-1/+1
2005-12-26short circuit out of a few places where we would allocate zero bytesEric Wong1-0/+3
2005-11-16GIT 0.99.9j aka 1.0rc3v1.0rc3v0.99.9jJunio C Hamano1-3/+16
2005-11-14Fix git-rev-list "date order" with --topo-orderLinus Torvalds1-2/+3
2005-11-11Add --pretty=fullerJunio C Hamano1-7/+30
2005-11-02Be careful when dereferencing tags.Junio C Hamano1-1/+1
2005-10-14Unlocalized isspace and friendsLinus Torvalds1-1/+0
2005-09-15[PATCH] Avoid wasting memory in git-rev-listLinus Torvalds1-1/+3
2005-08-29Fix compilation warnings.Junio C Hamano1-1/+1
2005-08-29Revert "Replace zero-length array decls with []."Junio C Hamano1-1/+1
2005-08-23Replace zero-length array decls with [].Jason Riedy1-1/+1
2005-08-22[PATCH] Add 'git show-branch'.Junio C Hamano1-6/+15
2005-08-09Introduce --pretty=oneline format.Junio C Hamano1-7/+26
2005-08-05Fix send-pack for non-commitish tags.Junio C Hamano1-4/+1
2005-07-31Teach parse_commit_buffer about grafting.Junio C Hamano1-1/+113
2005-07-27Make "parse_commit()" be a lot more carefulLinus Torvalds1-5/+11
2005-07-11[PATCH] Dereference tag repeatedly until we get a non-tag.Junio C Hamano1-2/+3
2005-07-06[PATCH] Add a topological sort procedure to commit.cJon Seymour1-0/+107
2005-07-06Make "insert_by_date()" match "commit_list_insert()"Linus Torvalds1-4/+4
2005-06-26Add "--pretty=full" format that also shows committer.Linus Torvalds1-4/+22
2005-06-20Keep the parents in order when parsing commitsLinus Torvalds1-1/+3
2005-06-18Make "pretty" commit logs always show merge informationLinus Torvalds1-0/+24
2005-06-08[PATCH] Anal retentive 'const unsigned char *sha1'Jason McMullan1-3/+3
2005-06-06[PATCH] Modify git-rev-list to linearise the commit history in merge order.jon@blackcubes.dyndns.org1-1/+23
2005-06-05pretty_print_commit: add different formatsLinus Torvalds1-10/+36
2005-06-01Add generic commit "pretty print" function.Linus Torvalds1-0/+80
2005-05-30commit_list_insert: return the new commit list entryLinus Torvalds1-1/+2
2005-05-25commit: save the commit buffer off when parsing a commitLinus Torvalds1-0/+4
2005-05-22Include file cleanups..Linus Torvalds1-2/+0
2005-05-20[PATCH] delta checkNicolas Pitre1-0/+2
2005-05-18commit: add "lookup_commit_reference()" helper functionLinus Torvalds1-6/+23
2005-05-06[PATCH] don't load and decompress objects twice with parse_object()Nicolas Pitre1-14/+26
2005-05-04[PATCH] Fix memory leaks in git-fsck-cacheSergey Vlasov1-1/+3
2005-04-26[PATCH] introduce xmalloc and xreallocChristopher Li1-2/+2
2005-04-24Don't add references to objects we couldn't find. Linus Torvalds1-3/+6
2005-04-24Verify that the object type matches for tree/commit objects even before parsing.Linus Torvalds1-1/+1
2005-04-24Set object type at object creation time, not object parse time.Linus Torvalds1-1/+1
2005-04-23[PATCH] Allow multiple date-ordered listsDaniel Barkalow1-3/+5
2005-04-23Don't add parents to the commit list if we have alreadyLinus Torvalds1-2/+5
2005-04-23[PATCH] Add some functions for commit listsDaniel Barkalow1-6/+52