author | Alejandro Mery <amery@geeks.cl> | |
Tue, 17 Jun 2008 11:43:57 +0000 (13:43 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Jun 2008 23:40:09 +0000 (16:40 -0700) | ||
commit | 1d9b26562e12fabd60bb4174b7e6b10f4f4a0ec8 | |
tree | 217f43f8f443fb3e8fdfc26763df8ddc5921b10b | tree | snapshot |
parent | 1a8fb155cff5b19bc41ee3ac96e34f0f2ad95763 | commit | diff |
git-am: head -1 is obsolete and doesn't work on some new systems
head -<n> was deprecated by POSIX, and as modern versions of coreutils
package don't support it at least one exports _POSIX2_VERSION=199209
it's fails on some systems.
head -n<n> is portable, but sed <n>q is even more.
Signed-off-by: Alejandro Mery <amery@geeks.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
head -<n> was deprecated by POSIX, and as modern versions of coreutils
package don't support it at least one exports _POSIX2_VERSION=199209
it's fails on some systems.
head -n<n> is portable, but sed <n>q is even more.
Signed-off-by: Alejandro Mery <amery@geeks.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | diff | blob | history |