X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-am.sh;h=2c517ede590c5c3274b03d1c980f9a847cc7d643;hb=1c7b76be7d620bbaf2e6b8417f04012326bbb9df;hp=b48096ec2037e3f14d4bdf89a0afe4623aff090e;hpb=53b22a9e45161004ff3260782abc4ee2a5b3e730;p=git.git diff --git a/git-am.sh b/git-am.sh index b48096ec2..2c517ede5 100755 --- a/git-am.sh +++ b/git-am.sh @@ -421,7 +421,7 @@ do else action=yes fi - FIRSTLINE=$(head -1 "$dotest/final-commit") + FIRSTLINE=$(sed 1q "$dotest/final-commit") if test $action = skip then