Skip to content

Commit 117a355

Browse files
committed
Merge branch 'jn/bisect-coding-style'
* jn/bisect-coding-style: git-bisect.sh: fix a few style issues
2 parents 3e30cb0 + 305a233 commit 117a355

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git-bisect.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ bisect_reset() {
365365
}
366366
case "$#" in
367367
0) branch=$(cat "$GIT_DIR/BISECT_START") ;;
368-
1) git rev-parse --quiet --verify "$1^{commit}" > /dev/null || {
368+
1) git rev-parse --quiet --verify "$1^{commit}" >/dev/null || {
369369
invalid="$1"
370370
die "$(eval_gettext "'\$invalid' is not a valid commit")"
371371
}
@@ -458,13 +458,13 @@ exit code \$res from '\$command' is < 0 or >= 128" >&2
458458
fi
459459

460460
# We have to use a subshell because "bisect_state" can exit.
461-
( bisect_state $state > "$GIT_DIR/BISECT_RUN" )
461+
( bisect_state $state >"$GIT_DIR/BISECT_RUN" )
462462
res=$?
463463

464464
cat "$GIT_DIR/BISECT_RUN"
465465

466466
if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \
467-
> /dev/null
467+
>/dev/null
468468
then
469469
gettextln "bisect run cannot continue any more" >&2
470470
exit $res
@@ -477,7 +477,7 @@ exit code \$res from '\$command' is < 0 or >= 128" >&2
477477
exit $res
478478
fi
479479

480-
if sane_grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" > /dev/null
480+
if sane_grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" >/dev/null
481481
then
482482
gettextln "bisect run success"
483483
exit 0;

0 commit comments

Comments
 (0)