summaryrefslogtreecommitdiff
path: root/trailer.h
Commit message (Collapse)AuthorAgeFilesLines
* interpret-trailers: add option for in-place editingtk/interpret-trailers-in-placeTobias Klauser2016-01-141-1/+2
| | | | | | | | | | | | | | 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: put all the processing together and printChristian Couder2014-10-131-0/+6
This patch adds the process_trailers() function that calls all the previously added processing functions and then prints the results on the standard output. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>