aboutsummaryrefslogtreecommitdiff
path: root/builtin/interpret-trailers.c
Commit message (Collapse)AuthorAge
* Merge branch 'jk/parseopt-string-list' into jk/string-list-static-initJunio C Hamano2016-06-13
|\ | | | | | | | | | | | | * jk/parseopt-string-list: blame,shortlog: don't make local option variables static interpret-trailers: don't duplicate option strings parse_opt_string_list: stop allocating new strings
| * interpret-trailers: don't duplicate option stringsJeff King2016-06-13
| | | | | | | | | | | | | | | | There's no need to do so; the argv strings will last until the end of the program. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* | interpret-trailers: add option for in-place editingTobias Klauser2016-01-14
|/ | | | | | | | | | | | | | Add a command line option --in-place to support in-place editing akin to sed -i. This allows to write commands like the following: git interpret-trailers --trailer "X: Y" a.txt > b.txt && mv b.txt a.txt in a more concise way: git interpret-trailers --trailer "X: Y" --in-place a.txt Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* trailer: add interpret-trailers commandChristian Couder2014-10-13
This patch adds the "git interpret-trailers" command. This command uses the previously added process_trailers() function in trailer.c. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>