author | Junio C Hamano <gitster@pobox.com> | |
Fri, 18 Apr 2008 23:11:40 +0000 (16:11 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 18 Apr 2008 23:11:40 +0000 (16:11 -0700) | ||
commit | 29df2385d09611219c53d07f453794d6146e73a3 | |
tree | 67b002c58d9c35035020b7e8336688be2338f3cb | tree | snapshot |
parent | 11dc4e70c33c2fbbff19014035d3bf624da1902c | commit | diff |
am: POSIX portability fix
POSIX allows echo without flag to interpret specials such as \n, and we
tried to make things portable by using printf instead where it matters.
Recently added code to "git am" had unprotected "echo", which was caught
by t4014 and RĂ©mi Vanicat.
This should fix it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
POSIX allows echo without flag to interpret specials such as \n, and we
tried to make things portable by using printf instead where it matters.
Recently added code to "git am" had unprotected "echo", which was caught
by t4014 and RĂ©mi Vanicat.
This should fix it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | diff | blob | history |