Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-bisect.sh: fix a few style issues
author
Jacopo Notarstefano
<jacopo.notarstefano@gmail.com>
Tue, 4 Mar 2014 00:21:43 +0000
(
01:21
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 4 Mar 2014 02:29:34 +0000
(18:29 -0800)
Redirection operators should have a space before them, but not after them.
Signed-off-by: Jacopo Notarstefano <jacopo.notarstefano@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
7bbc4e8
)
diff --git
a/git-bisect.sh
b/git-bisect.sh
index 73b4c14d4f631b811a20392684a87c6b97daedc7..af4d04c3be87423d3c9ef6078766fff679411766 100755
(executable)
--- a/
git-bisect.sh
+++ b/
git-bisect.sh
@@
-365,7
+365,7
@@
bisect_reset() {
}
case "$#" in
0) branch=$(cat "$GIT_DIR/BISECT_START") ;;
}
case "$#" in
0) branch=$(cat "$GIT_DIR/BISECT_START") ;;
- 1) git rev-parse --quiet --verify "$1^{commit}" >
/dev/null || {
+ 1) git rev-parse --quiet --verify "$1^{commit}" >/dev/null || {
invalid="$1"
die "$(eval_gettext "'\$invalid' is not a valid commit")"
}
invalid="$1"
die "$(eval_gettext "'\$invalid' is not a valid commit")"
}
@@
-458,13
+458,13
@@
exit code \$res from '\$command' is < 0 or >= 128" >&2
fi
# We have to use a subshell because "bisect_state" can exit.
fi
# We have to use a subshell because "bisect_state" can exit.
- ( bisect_state $state >
"$GIT_DIR/BISECT_RUN" )
+ ( bisect_state $state >"$GIT_DIR/BISECT_RUN" )
res=$?
cat "$GIT_DIR/BISECT_RUN"
if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \
res=$?
cat "$GIT_DIR/BISECT_RUN"
if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \
- >
/dev/null
+ >/dev/null
then
gettextln "bisect run cannot continue any more" >&2
exit $res
then
gettextln "bisect run cannot continue any more" >&2
exit $res
@@
-477,7
+477,7
@@
exit code \$res from '\$command' is < 0 or >= 128" >&2
exit $res
fi
exit $res
fi
- if sane_grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" >
/dev/null
+ if sane_grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" >/dev/null
then
gettextln "bisect run success"
exit 0;
then
gettextln "bisect run success"
exit 0;