aboutsummaryrefslogtreecommitdiffstats
path: root/trailer.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge branch 'la/format-trailer-info'Junio C Hamano1-52/+29
2024-04-05Merge branch 'jk/core-comment-string'Junio C Hamano1-3/+3
2024-03-15trailer: finish formatting unificationLinus Arver1-4/+4
2024-03-15trailer: begin formatting unificationLinus Arver1-37/+17
2024-03-15format_trailer_info(): append newline for non-trailer linesLinus Arver1-2/+3
2024-03-15format_trailer_info(): drop redundant unfold_value()Linus Arver1-3/+0
2024-03-15format_trailer_info(): use trailer_item objectsLinus Arver1-11/+10
2024-03-14Merge branch 'la/trailer-api'Junio C Hamano1-135/+46
2024-03-12find multi-byte comment chars in unterminated buffersJeff King1-2/+2
2024-03-12find multi-byte comment chars in NUL-terminated stringsJeff King1-1/+1
2024-03-01format_trailers_from_commit(): indirectly call trailer_info_get()Linus Arver1-1/+4
2024-03-01format_trailer_info(): move "fast path" to callerLinus Arver1-11/+9
2024-03-01format_trailers(): use strbuf instead of FILELinus Arver1-6/+7
2024-03-01trailer_info_get(): reorder parametersLinus Arver1-5/+6
2024-03-01trailer: move interpret_trailers() to interpret-trailers.cLinus Arver1-106/+13
2024-03-01trailer: reorder format_trailers_from_commit() parametersLinus Arver1-5/+6
2024-03-01trailer: rename functions to use 'trailer'Linus Arver1-13/+13
2024-03-01shortlog: add test for de-duplicating folded trailersLinus Arver1-0/+1
2024-03-01trailer: free trailer_info _after_ all related usageLinus Arver1-2/+1
2024-02-19Merge branch 'la/trailer-cleanups'Junio C Hamano1-8/+7
2024-02-19trailer: fix comment/cut-line regression with opts->no_dividerJeff King1-8/+7
2024-01-02Merge branch 'la/trailer-cleanups'Junio C Hamano1-34/+50
2023-12-20trailer: use offsets for trailer_start/trailer_endLinus Arver1-15/+14
2023-12-20trailer: find the end of the log messageLinus Arver1-23/+40
2023-12-09trailer: handle NULL value when parsing trailer-specific configJeff King1-0/+6
2023-12-09config: handle NULL value when parsing non-boolsJeff King1-0/+2
2023-10-20commit: ignore_non_trailer computes number of bytes to ignoreLinus Arver1-1/+1
2023-09-11trailer: split process_command_line_args into separate functionsLinus Arver1-13/+21
2023-09-11trailer: split process_input_file into separate piecesLinus Arver1-20/+22
2023-09-11trailer: separate public from internal portion of trailer_iteratorLinus Arver1-5/+5
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-0/+2
2023-03-21treewide: remove cache.h inclusion due to environment.h changesElijah Newren1-1/+1
2023-03-21environment: move comment_line_char from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-2/+2
2022-08-19config: mark unused callback parametersJeff King1-2/+4
2022-06-10Merge branch 'ab/env-array'Junio C Hamano1-1/+1
2022-06-02run-command API: rename "env_array" to "env"Ævar Arnfjörð Bjarmason1-1/+1
2022-05-02Merge branch 'ep/maint-equals-null-cocci' for maint-2.35Junio C Hamano1-1/+1
2022-05-02tree-wide: apply equals-null.cocciJunio C Hamano1-1/+1
2021-11-25run-command API: remove "env" member, always use "env_array"Ævar Arnfjörð Bjarmason1-1/+1
2021-05-04trailer: add new .cmd config optionZheNing Hu1-10/+25
2021-03-19Merge branch 'rs/xcalloc-takes-nelem-first'Junio C Hamano1-3/+3
2021-03-13use CALLOC_ARRAYRené Scharfe1-1/+1
2021-03-08fix xcalloc() argument orderRené Scharfe1-4/+4
2020-12-09pretty format %(trailers): add a "key_value_separator"Ævar Arnfjörð Bjarmason1-3/+8
2020-12-09pretty format %(trailers): add a "keyonly"Ævar Arnfjörð Bjarmason1-3/+6
2020-12-09pretty-format %(trailers): fix broken standalone "valueonly"Ævar Arnfjörð Bjarmason1-1/+2
2020-10-04Merge branch 'jk/shortlog-group-by-trailer'Junio C Hamano1-0/+36
2020-09-27trailer: add interface for iterating over commit trailersJeff King1-0/+36
2020-08-26run_command: teach API users to use embedded 'args' moreJunio C Hamano1-3/+1
2019-01-29pretty: add support for separator option in %(trailers)Anders Waldenborg1-2/+13
2019-01-29pretty: add support for "valueonly" option in %(trailers)Anders Waldenborg1-2/+4
2019-01-29pretty: allow showing specific trailersAnders Waldenborg1-4/+6
2018-08-23interpret-trailers: allow suppressing "---" dividerJeff King1-1/+5
2018-08-23interpret-trailers: tighten check for "---" patch boundaryJeff King1-1/+3
2018-08-23trailer: pass process_trailer_opts to trailer_info_get()Jeff King1-3/+4
2018-08-23trailer: use size_t for iterating trailer listJeff King1-3/+3
2018-08-23trailer: use size_t for string offsetsJeff King1-19/+20
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-3/+3
2018-02-22trailer: rename 'template' variablesBrandon Williams1-5/+5
2018-02-22trailer: rename 'new' variablesBrandon Williams1-17/+17
2017-09-06tempfile: auto-allocate tempfiles on heapJeff King1-3/+3
2017-08-26Merge branch 'jk/trailers-parse'Junio C Hamano1-16/+98
2017-08-15pretty: support normalization options for %(trailers)Jeff King1-2/+30
2017-08-15pretty: move trailer formatting to trailer.cJeff King1-0/+18
2017-08-15interpret-trailers: add an option to unfold valuesJeff King1-0/+29
2017-08-15interpret-trailers: add an option to show only existing trailersJeff King1-4/+5
2017-08-15interpret-trailers: add an option to show only the trailersJeff King1-9/+14
2017-08-14interpret-trailers: add options for actionsPaolo Bonzini1-6/+28
2017-08-14trailers: introduce struct new_trailer_itemPaolo Bonzini1-8/+11
2017-08-10trailer: put process_trailers() options into a structJeff King1-4/+6
2017-07-25trailers: export action enums and corresponding lookup functionsPaolo Bonzini1-32/+33
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2016-11-29trailer: have function to describe trailer layoutJonathan Tan1-36/+82
2016-11-29trailer: avoid unnecessary splitting on linesJonathan Tan1-94/+100
2016-11-29commit: make ignore_non_trailer take buf/lenJonathan Tan1-1/+1
2016-11-29trailer: be stricter in parsing separatorsJonathan Tan1-6/+23
2016-10-31Merge branch 'jt/trailer-with-cruft'Junio C Hamano1-273/+347
2016-10-21trailer: support values folded to multiple linesJonathan Tan1-7/+38
2016-10-21trailer: forbid leading whitespace in trailersJonathan Tan1-1/+1
2016-10-21trailer: allow non-trailers in trailer blockJonathan Tan1-13/+76
2016-10-21trailer: clarify failure modes in parse_trailerJonathan Tan1-22/+53
2016-10-20trailer: make args have their own structJonathan Tan1-50/+85
2016-10-20trailer: streamline trailer item create and addJonathan Tan1-70/+60
2016-10-20trailer: use list.h for doubly-linked listJonathan Tan1-167/+91
2016-10-14trailer: improve const correctnessJonathan Tan1-7/+7
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Junio C Hamano1-6/+3
2016-07-26die("bug"): report bugs consistentlyJohannes Schindelin1-1/+1
2016-02-29trailer.c: mark strings for translationNguyễn Thái Ngọc Duy1-1/+1
2016-01-14interpret-trailers: add option for in-place editingTobias Klauser1-1/+40
2016-01-14trailer: allow to write to files other than stdoutTobias Klauser1-13/+15
2015-09-02Merge branch 'cc/trailers-corner-case-fix'Junio C Hamano1-4/+11
2015-08-31trailer: support multiline titleChristian Couder1-4/+11
2015-08-28Merge branch 'cc/trailers-corner-case-fix'Junio C Hamano1-1/+3
2015-08-26trailer: retitle a test and correct an in-comment messageChristian Couder1-1/+2
2015-08-21trailer: ignore first line of messageChristian Couder1-1/+2
2015-03-22trailer: use capture_commandJeff King1-13/+5
2015-02-13do not include the same header twiceДилян Палаузов1-1/+0
2014-12-22Merge branch 'cc/interpret-trailers-more'Junio C Hamano1-7/+25
2014-11-19Merge branch 'cc/interpret-trailers'Junio C Hamano1-4/+10
2014-11-10trailer: use CHILD_PROCESS_INIT in apply_command()René Scharfe1-2/+1
2014-11-10trailer: reuse ignore_non_trailer() to ignore conflict linesChristian Couder1-7/+25
2014-11-10trailer: display a trailer without its trailing newlineChristian Couder1-2/+6
2014-11-10trailer: ignore comment lines inside the trailersChristian Couder1-2/+4
2014-10-28use child_process_init() to initialize struct child_process variablesRené Scharfe1-1/+1
2014-10-13trailer: execute command from 'trailer.<name>.command'Christian Couder1-1/+84
2014-10-13trailer: put all the processing together and printChristian Couder1-0/+69
2014-10-13trailer: parse trailers from file or stdinChristian Couder1-0/+123
2014-10-13trailer: process command line trailer argumentsChristian Couder1-0/+112
2014-10-13trailer: read and process config informationChristian Couder1-0/+185
2014-10-13trailer: process trailers from input message and argumentsChristian Couder1-0/+210
2014-10-13trailer: add data structures and basic functionsChristian Couder1-0/+69