]> git.ipfire.org Git - thirdparty/git.git/commit - trailer.c
trailer: allow to write to files other than stdout
authorTobias Klauser <tklauser@distanz.ch>
Thu, 14 Jan 2016 16:57:54 +0000 (17:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jan 2016 20:22:10 +0000 (12:22 -0800)
commitd0d2344ad84cde7fddedc1e141296607af673454
tree4390742853d2204cf49c4ab23a4d5027ab906935
parent754884255bb580df159e58defa81cdd30b5c430c
trailer: allow to write to files other than stdout

Use fprintf instead of printf in trailer.c in order to allow printing
to a file other than stdout. This will be needed to support in-place
editing in git interpret-trailers.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trailer.c