bisect: use verbatim commit subject in the bisect log
Due to a typo, the commit subject was shell expanded in the bisect log. That is, if you had some shell pattern in the commit subject, bisect would happily put all matching file names into the log. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Tested-by: Frans Pop <elendil@planet.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Feb 12, 2008 at 19:50 UTC
f454cdc48f31e64ceae2e8d4f4838349de2f5dee
1 file changed
+1
-1
git-bisect.sh
+1
-1
@@ -135,7 +135,7 @@ bisect_write() {
135
*) die "Bad bisect_write argument: $state" ;;
136
esac
137
git update-ref "refs/bisect/$tag" "$rev"
138
- echo "# $state: "$(git show-branch $rev) >>"$GIT_DIR/BISECT_LOG"
138
+ echo "# $state: $(git show-branch $rev)" >>"$GIT_DIR/BISECT_LOG"
139
test -z "$nolog" && echo "git-bisect $state $rev" >>"$GIT_DIR/BISECT_LOG"
140
}
141