From: Alex Riesen Date: Fri, 13 Apr 2007 22:19:05 +0000 (+0200) Subject: Use rev-list --reverse in git-rebase.sh X-Git-Tag: v1.5.1.2~40 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dc61b10d987d32522803044eccaa801ffbca4bfe;p=git.git Use rev-list --reverse in git-rebase.sh ...and drop the last perl dependency in the script. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- diff --git a/git-rebase.sh b/git-rebase.sh index 1d96f3268..2dc2c4fe9 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -339,8 +339,7 @@ prev_head=`git-rev-parse HEAD^0` echo "$prev_head" > "$dotest/prev_head" msgnum=0 -for cmt in `git-rev-list --no-merges "$upstream"..ORIG_HEAD \ - | @@PERL@@ -e 'print reverse <>'` +for cmt in `git-rev-list --reverse --no-merges "$upstream"..ORIG_HEAD` do msgnum=$(($msgnum + 1)) echo "$cmt" > "$dotest/cmt.$msgnum"