mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Lose perl dependency.
Perl is just used to reverse stdin, which can be done with a simple sed construct as well. Signed-off-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
This commit is contained in:
committed by
Johannes Sixt
parent
cdea3553ef
commit
5d889b9810
@@ -332,7 +332,7 @@ echo "$prev_head" > "$dotest/prev_head"
|
||||
|
||||
msgnum=0
|
||||
for cmt in `git-rev-list --no-merges "$upstream"..ORIG_HEAD \
|
||||
| @@PERL@@ -e 'print reverse <>'`
|
||||
| sed -ne '1!G;$p;h'`
|
||||
do
|
||||
msgnum=$(($msgnum + 1))
|
||||
echo "$cmt" > "$dotest/cmt.$msgnum"
|
||||
|
||||
Reference in New Issue
Block a user