author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sun, 3 Aug 2008 13:44:33 +0000 (15:44 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Aug 2008 19:48:41 +0000 (12:48 -0700) | ||
commit | 7c5b1675a88a52be1822129e4aa915c5531f6700 | |
tree | 6af503f9bf6be6fc7b53252c4b57248f9b74320a | tree | snapshot |
parent | b003c00b7b5e352569061fec0b1e1bd0d0fa8b6a | commit | diff |
git-name-rev: don't use printf without format
printf() without an explicit format string is not a good coding practise,
unless the printed string is guaranteed to not contain percent signs. While
fixing this, we might as well combine the calls to fwrite() and printf().
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
printf() without an explicit format string is not a good coding practise,
unless the printed string is guaranteed to not contain percent signs. While
fixing this, we might as well combine the calls to fwrite() and printf().
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-name-rev.c | diff | blob | history |