summaryrefslogtreecommitdiffstats
path: root/t/t6004-rev-list-path-optim.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-03-12 22:34:34 +0100
committerJunio C Hamano <gitster@pobox.com>2008-03-13 08:57:52 +0100
commitb4ce54fc61e7c76e2d7f47c34733f0f0bbb6c4cd (patch)
tree4bb61d23645a1402c253f7b40e3ed9653999914a /t/t6004-rev-list-path-optim.sh
parentgrep portability fix: don't use "-e" or "-q" (diff)
downloadgit-b4ce54fc61e7c76e2d7f47c34733f0f0bbb6c4cd.tar.xz
git-b4ce54fc61e7c76e2d7f47c34733f0f0bbb6c4cd.zip
remove use of "tail -n 1" and "tail -1"
The "-n" syntax is not supported by System V versions of tail (which prefer "tail -1"). Unfortunately "tail -1" is not actually POSIX. We had some of both forms in our scripts. Since neither form works everywhere, this patch replaces both with the equivalent sed invocation: sed -ne '$p' Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6004-rev-list-path-optim.sh')
0 files changed, 0 insertions, 0 deletions