]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-bisect.sh
fetch-pack: support more than one pack lockfile
[thirdparty/git.git] / git-bisect.sh
index efee12b8b1e6d53d3cd5275683ebb0a4198b4b95..71b367a9447a6fb448e20fc606918103fc4f1bfc 100755 (executable)
@@ -209,6 +209,7 @@ bisect_replay () {
        test "$#" -eq 1 || die "$(gettext "No logfile given")"
        test -r "$file" || die "$(eval_gettext "cannot read \$file for replaying")"
        git bisect--helper --bisect-reset || exit
+       oIFS="$IFS" IFS="$IFS$(printf '\015')"
        while read git bisect command rev
        do
                test "$git $bisect" = "git bisect" || test "$git" = "git-bisect" || continue
@@ -232,6 +233,7 @@ bisect_replay () {
                        die "$(gettext "?? what are you talking about?")" ;;
                esac
        done <"$file"
+       IFS="$oIFS"
        bisect_auto_next
 }