Code

git-rebase--interactive.sh: comparision with == is bashism
authorJunio C Hamano <gitster@pobox.com>
Wed, 22 Oct 2008 18:59:30 +0000 (11:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Oct 2008 18:59:30 +0000 (11:59 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh

index a563dea9b5313eaf60bd218cee166e6a17de93c0..0cae3be6f6a629712d79b3b2a7f8f4664d92532c 100755 (executable)
@@ -170,7 +170,7 @@ pick_one_preserving_merges () {
 
        if test -f "$DOTEST"/current-commit
        then
-               if [ "$fast_forward" == "t" ]
+               if test "$fast_forward" = t
                then
                        cat "$DOTEST"/current-commit | while read current_commit
                        do