File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,9 @@ aborts in the middle. You can recover from this in one of two ways:
173173 the index file to bring it into a state that the patch should
174174 have produced. Then run the command with the '--resolved' option.
175175
176- The command refuses to process new mailboxes while the `.git/rebase-apply`
177- directory exists , so if you decide to start over from scratch,
178- run `rm -f -r .git/rebase-apply ` before running the command with mailbox
176+ The command refuses to process new mailboxes until the current
177+ operation is finished , so if you decide to start over from scratch,
178+ run `git am --abort ` before running the command with mailbox
179179names.
180180
181181Before any patches are applied, ORIG_HEAD is set to the tip of the
Original file line number Diff line number Diff line change @@ -288,10 +288,12 @@ bisect_visualize() {
288288
289289 if test $# = 0
290290 then
291- case " ${DISPLAY+set}${SESSIONNAME+set}${MSYSTEM+set}${SECURITYSESSIONID+set} " in
292- ' ' ) set git log ;;
293- set* ) set gitk ;;
294- esac
291+ if test -n " ${DISPLAY+set}${SESSIONNAME+set}${MSYSTEM+set}${SECURITYSESSIONID+set} " &&
292+ type gitk > /dev/null 2>&1 ; then
293+ set gitk
294+ else
295+ set git log
296+ fi
295297 else
296298 case " $1 " in
297299 git* |tig) ;;
You can’t perform that action at this time.
0 commit comments