aboutsummaryrefslogtreecommitdiffstats
path: root/pretty.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-18Merge branch 'rm/strchrnul-not-strlen'Junio C Hamano1-3/+2
2014-03-14Merge branch 'jk/commit-dates-parsing-fix'Junio C Hamano1-3/+9
2014-03-10use strchrnul() in place of strchr() and strlen()Rohit Mani1-3/+2
2014-03-07show_ident_date: fix tz range checkJeff King1-2/+2
2014-02-24log: handle integer overflow in timestampsJeff King1-2/+8
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-18/+18
2013-10-31pretty: trivial style fixFelipe Contreras1-1/+1
2013-09-20format-patch: print in-body "From" only when neededJeff King1-1/+1
2013-07-03teach format-patch to place other authors into in-body "From"Jeff King1-0/+38
2013-07-03pretty.c: drop const-ness from pretty_print_contextJeff King1-5/+5
2013-05-01Merge branch 'rs/pp-user-info-without-extra-allocation'Junio C Hamano1-35/+14
2013-04-25pretty: remove intermediate strbufs from pp_user_info()René Scharfe1-20/+9
2013-04-25pretty: simplify output line length calculation in pp_user_info()René Scharfe1-4/+3
2013-04-25pretty: simplify input line length calculation in pp_user_info()René Scharfe1-11/+2
2013-04-23Merge branch 'nd/pretty-formats'Junio C Hamano1-62/+296
2013-04-22Merge branch 'jk/chopped-ident'Junio C Hamano1-21/+24
2013-04-18pretty: support %>> that steal trailing spacesNguyễn Thái Ngọc Duy1-0/+34
2013-04-18pretty: support truncating in %>, %< and %><Nguyễn Thái Ngọc Duy1-3/+48
2013-04-18pretty: support padding placeholders, %< %> and %><Nguyễn Thái Ngọc Duy1-1/+116
2013-04-18pretty: add %C(auto) for auto-coloringNguyễn Thái Ngọc Duy1-3/+23
2013-04-18pretty: split color parsing into a separate functionNguyễn Thái Ngọc Duy1-32/+39
2013-04-18pretty: two phase conversion for non utf-8 commitsNguyễn Thái Ngọc Duy1-2/+22
2013-04-18pretty: share code between format_decoration and show_decorationsNguyễn Thái Ngọc Duy1-18/+2
2013-04-18pretty: get the correct encoding for --pretty:format=%eNguyễn Thái Ngọc Duy1-6/+7
2013-04-18pretty: save commit encoding from logmsg_reencode if the caller needs itNguyễn Thái Ngọc Duy1-4/+12
2013-04-17pretty: handle broken commit headers gracefullyRené Scharfe1-21/+24
2013-04-03Merge branch 'mg/gpg-interface-using-status' into maintJunio C Hamano1-4/+15
2013-04-03Merge branch 'ks/rfc2047-one-char-at-a-time' into maintJunio C Hamano1-12/+22
2013-03-31pretty printing: extend %G? to include 'N' and 'U'Sebastian Götte1-0/+2
2013-03-31Move commit GPG signature verification to commit.cSebastian Götte1-78/+13
2013-03-25Merge branch 'ks/rfc2047-one-char-at-a-time'Junio C Hamano1-12/+22
2013-03-21Merge branch 'mg/gpg-interface-using-status'Junio C Hamano1-4/+15
2013-03-09format-patch: RFC 2047 says multi-octet character may not be splitKirill Smelkov1-12/+22
2013-02-14pretty: make %GK output the signing key for signed commitsMichael J Gruber1-1/+8
2013-02-14pretty: parse the gpg status lines rather than the outputMichael J Gruber1-5/+9
2013-02-14gpg_interface: allow to request status returnMichael J Gruber1-1/+1
2013-01-26logmsg_reencode: lazily load missing commit buffersJeff King1-8/+49
2013-01-26logmsg_reencode: never return NULLJeff King1-16/+22
2013-01-20Merge branch 'ap/log-mailmap'Junio C Hamano1-50/+64
2013-01-18Merge branch 'rs/pretty-use-prefixcmp'Junio C Hamano1-4/+4
2013-01-14pretty: use prefixcmp instead of memcmp on NUL-terminated stringsRené Scharfe1-4/+4
2013-01-10Merge branch 'jc/same-encoding' into maintJunio C Hamano1-12/+4
2013-01-10pretty: use mailmap to display username and emailAntoine Pelisse1-21/+37
2013-01-10mailmap: simplify map_user() interfaceAntoine Pelisse1-22/+13
2013-01-07Use split_ident_line to parse author and committerAntoine Pelisse1-14/+21
2013-01-05Merge branch 'jc/format-color-auto'Junio C Hamano1-3/+10
2013-01-03Merge branch 'jc/same-encoding'Junio C Hamano1-12/+4
2012-12-17log --format: teach %C(auto,black) to respect color configJunio C Hamano1-3/+10
2012-12-10format_commit_message(): simplify calls to logmsg_reencode()Junio C Hamano1-12/+4
2012-12-07Merge branch 'jc/same-encoding' into maintJunio C Hamano1-1/+1
2012-11-15Merge branch 'jc/prettier-pretty-note'Junio C Hamano1-18/+4
2012-11-15Merge branch 'jc/same-encoding'Junio C Hamano1-1/+1
2012-11-04reencode_string(): introduce and use same_encoding()Junio C Hamano1-1/+1
2012-10-18format-patch: fix rfc2047 address encoding with respect to rfc822 specialsJan H. Schönherr1-17/+32
2012-10-18format-patch: make rfc2047 encoding more strictJan H. Schönherr1-8/+59
2012-10-18format-patch: introduce helper function last_line_length()Jan H. Schönherr1-12/+13
2012-10-18format-patch: do not wrap rfc2047 encoded headers too lateJan H. Schönherr1-10/+16
2012-10-18format-patch: do not wrap non-rfc2047 headers too earlyJan H. Schönherr1-1/+1
2012-10-17pretty_print_commit(): do not append notes messageJunio C Hamano1-3/+0
2012-10-17pretty: prepare notes message at a centralized placeJunio C Hamano1-5/+4
2012-10-17format_note(): simplify APIJunio C Hamano1-3/+2
2012-10-17pretty: remove reencode_commit_message()Junio C Hamano1-11/+2
2012-05-25Merge branch 'jk/format-person-part-buffer-limit'Junio C Hamano1-2/+4
2012-05-25Merge branch 'jk/pretty-commit-header-incomplete-line'Junio C Hamano1-1/+4
2012-05-22avoid segfault when reading header of malformed commitsJeff King1-1/+4
2012-05-22pretty: avoid buffer overflow in format_person_partJeff King1-2/+4
2012-05-11Merge branch 'jk/maint-reflog-walk-count-vs-time'Junio C Hamano1-0/+1
2012-05-07reflog-walk: tell explicit --date=default from not having --date at allJunio C Hamano1-3/+2
2012-05-04log: respect date_mode_explicit with --format:%gdJeff King1-1/+3
2012-03-11ident.c: add split_ident_line() to parse formatted ident lineJunio C Hamano1-44/+20
2012-01-06Merge branch 'jc/show-sig'Junio C Hamano1-0/+86
2011-12-16pretty: give placeholders to reflog identityJeff King1-0/+25
2011-11-12pretty: %G[?GS] placeholdersJunio C Hamano1-0/+86
2011-11-01Merge branch 'nd/pretty-commit-log-message'Junio C Hamano1-4/+6
2011-10-23pretty.c: use original commit message if reencoding failsNguyễn Thái Ngọc Duy1-1/+4
2011-10-23pretty.c: free get_header() return valueNguyễn Thái Ngọc Duy1-4/+3
2011-05-31Merge branch 'jk/format-patch-am'Junio C Hamano1-52/+55
2011-05-30Merge branch 'jc/fmt-req-fix'Junio C Hamano1-1/+1
2011-05-26format-patch: preserve subject newlines with -kJeff King1-1/+2
2011-05-26clean up calling conventions for pretty.c functionsJeff King1-52/+47
2011-05-26pretty: add pp_commit_easy function for simple callersJeff King1-0/+7
2011-05-25userformat_find_requirements(): find requirement for the correct formatJunio C Hamano1-1/+1
2011-05-15Merge branch 'jk/format-patch-quote-special-in-from' into maintJunio C Hamano1-1/+60
2011-05-06Merge branch 'jk/format-patch-quote-special-in-from'Junio C Hamano1-1/+60
2011-05-04Merge branch 'jk/format-patch-multiline-header'Junio C Hamano1-0/+9
2011-04-26pretty: quote rfc822 specials in email addressesJeff King1-1/+60
2011-04-14format-patch: wrap email addresses after long namesJeff King1-0/+9
2011-03-22Merge branch 'mg/rev-list-one-side-only'Junio C Hamano1-5/+1
2011-03-09rev-list/log: factor out revision mark generationMichael J Gruber1-5/+1
2011-02-23format-patch: rfc2047-encode newlines in headersJeff King1-2/+2
2011-02-23format-patch: wrap long header linesJeff King1-8/+24
2010-11-04pretty.c: teach format_commit_message() to reencode the outputPat Notz1-6/+21
2010-11-04commit: helper methods to reduce redundant blocks of codePat Notz1-7/+2
2010-06-22Merge branch 'mg/pretty-magic-space'Junio C Hamano1-4/+11
2010-06-21Merge branch 'gv/portable'Junio C Hamano1-1/+1
2010-06-16pretty: Introduce ' ' modifier to add space if non-emptyMichael J Gruber1-3/+10
2010-06-13Merge branch 'wp/pretty-enhancement'Junio C Hamano1-23/+131
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-05-21Merge branch 'jn/shortlog'Junio C Hamano1-3/+4
2010-05-08Merge branch 'eb/unpretty-b-format'Junio C Hamano1-0/+4
2010-05-08pretty: initialize new cmt_fmt_map to 0Jonathan Nieder1-0/+1
2010-05-04pretty: Respect --abbrev optionWill Palmer1-3/+4
2010-05-03pretty: add aliases for pretty formatsWill Palmer1-2/+55
2010-05-03pretty: add infrastructure for commit format aliasesWill Palmer1-3/+24
2010-05-03pretty: make it easier to add new formatsWill Palmer1-24/+57
2010-04-13pretty: Initialize notes if %N is usedJohannes Gilger1-4/+36
2010-04-05Add `%B' in format strings for raw commit body in `git log' and friendsEli Barzilay1-0/+4
2010-03-12Support showing notes from more than one notes treeThomas Rast1-3/+3
2010-02-13Notes API: Allow multiple concurrent notes trees with new struct notes_treeJohan Herland1-3/+4
2010-02-13Notes API: get_commit_notes() -> format_note() + remove the commit restrictionJohan Herland1-4/+4
2010-01-22Merge branch 'jc/maint-limit-note-output'Junio C Hamano1-1/+1
2010-01-20Fix "log" family not to be too agressive about showing notesJunio C Hamano1-1/+1
2010-01-11pretty.c: mark file-local function staticJunio C Hamano1-1/+1
2009-11-30Merge branch 'jc/pretty-lf'Junio C Hamano1-2/+40
2009-11-20Merge branch 'jh/notes' (early part)Junio C Hamano1-0/+10
2009-11-15Merge branch 'rs/pretty-wrap'Junio C Hamano1-0/+57
2009-11-08log --format: don't ignore %w() at the start of format stringRené Scharfe1-1/+1
2009-10-30fixup tr/stash-format mergeJunio C Hamano1-13/+31
2009-10-22Implement wrap format %w() as if it is a mode switchRené Scharfe1-0/+57
2009-10-19Introduce new pretty formats %g[sdD] for reflog informationThomas Rast1-0/+17
2009-10-19Refactor pretty_print_commit arguments into a structThomas Rast1-13/+14
2009-10-19Add '%N'-format for pretty-printing commit notesJohannes Schindelin1-0/+4
2009-10-19Add flags to get_commit_notes() to control the format of the note stringJohan Herland1-1/+2
2009-10-19Introduce commit notesJohannes Schindelin1-0/+5
2009-10-19format_commit_message(): fix function signatureJunio C Hamano1-1/+1
2009-10-04Pretty-format: %[+-]x to tweak inter-item newlinesJunio C Hamano1-2/+40
2009-08-18git-log: allow --decorate[=short|full]Lars Hjemli1-1/+1
2009-08-10Expose the has_non_ascii() functionJohannes Schindelin1-0/+12
2009-05-18Use 'UTF-8' rather than 'utf-8' everywhere for backward compatibilityBrandon Casey1-2/+2
2009-04-01format_sanitized_subject: Don't trim past initial length of strbufStephen Boyd1-2/+4
2009-03-22pretty.c: add %f format specifier to format_commit_message()Stephen Boyd1-0/+35
2009-03-14Remove unused assignmentsBenjamin Kramer1-3/+1
2009-03-07Merge branch 'maint'Junio C Hamano1-2/+1
2009-03-07cleanup: add isascii()René Scharfe1-2/+1
2009-03-05Merge branch 'ns/pretty-format'Junio C Hamano1-6/+14
2009-03-05Merge branch 'al/ansi-color'Junio C Hamano1-4/+4
2009-02-24Give short-hands to --pretty=tformat:%formatstringNanako Shiraishi1-6/+14
2009-02-15Merge branch 'ms/mailmap'Junio C Hamano1-28/+31
2009-02-13Clean up use of ANSI color sequencesArjen Laarhoven1-4/+4
2009-02-13log: do not print ellipses with --abbrev-commitThomas Rast1-3/+1
2009-02-10Revert "Merge branch 'js/notes'"Junio C Hamano1-5/+0
2009-02-08Change current mailmap usage to do matching on both name and email of author/...Marius Storm-Olsen1-27/+30
2009-02-08Add mailmap.file as configurational option for mailmap locationMarius Storm-Olsen1-1/+1
2009-02-05Merge branch 'js/notes'Junio C Hamano1-0/+5
2009-01-21Merge branch 'jk/color-parse'Junio C Hamano1-0/+12
2009-01-17expand --pretty=format color optionsJeff King1-0/+12
2009-01-06shortlog: handle multi-line subjects like log --pretty=oneline et. al. doRené Scharfe1-2/+2
2008-12-27pretty: support multiline subjects with format:René Scharfe1-19/+34
2008-12-27pretty: factor out format_subject()René Scharfe1-18/+24
2008-12-27pretty: factor out skip_empty_lines()René Scharfe1-9/+15
2008-12-21Introduce commit notesJohannes Schindelin1-0/+5
2008-10-21builtin-blame: Reencode commit messages according to git-log rules.Alexander Gavrilov1-6/+15
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey1-2/+1
2008-09-04add '%d' pretty format specifier to show decorationRené Scharfe1-0/+21
2008-08-29pretty=format: respect date format optionsJeff King1-6/+11
2008-07-21Rename path_list to string_listJohannes Schindelin1-2/+2
2008-07-11Add pretty format %aN which gives the author name, respecting .mailmapJohannes Schindelin1-2/+25
2008-05-25log --pretty: do not accept bogus "--prettyshort"Junio C Hamano1-2/+0
2008-04-10log: teach "terminator" vs "separator" mode to "--pretty=format"Junio C Hamano1-24/+33
2008-03-23pretty.c: add %x00 format specifier.Govind Salinas1-0/+11
2008-03-15Merge branch 'maint'Junio C Hamano1-13/+11
2008-03-15format-patch: generate MIME header as needed even when there is format.headerJunio C Hamano1-13/+11
2008-02-27Merge branch 'jm/free'Junio C Hamano1-2/+1
2008-02-27Merge branch 'db/cover-letter'Junio C Hamano1-16/+16
2008-02-22Avoid unnecessary "if-before-free" tests.Jim Meyering1-2/+1
2008-02-19Export some email and pretty-printing functionsDaniel Barkalow1-17/+17
2008-02-09Avoid a useless prefix lookup in strbuf_expand()Marco Costalba1-95/+73
2008-01-06custom pretty format: tolerate empty e-mail addressJunio C Hamano1-4/+12
2007-12-26Make "--pretty=format" parser a bit more careful.René Scharfe1-1/+3
2007-11-11--format=pretty: avoid calculating expensive expansions twiceRené Scharfe1-0/+32
2007-11-11--pretty=format: parse commit message only onceRené Scharfe1-42/+82
2007-11-09--pretty=format: on-demand format expansionRené Scharfe1-123/+153
2007-11-05Split off the pretty print stuff into its own fileJohannes Schindelin1-0/+723