Include revert conflicts in git abort (#992)

This commit is contained in:
Joshua Li 2022-10-05 22:26:20 -07:00 committed by GitHub
parent 8058b1718f
commit 06aa5dbb1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
gitdir="$(git rev-parse --git-dir)" || exit
opfound=
fcnt=
for i in cherry-pick merge rebase; do
for i in cherry-pick merge rebase revert; do
f=${i^^}
f=${f/-/_}
test -f "${gitdir}/${f}_HEAD" && fcnt=1$fcnt && opfound=$i

View file

@ -6,7 +6,7 @@
.SH "SYNOPSIS"
\fBgit\-abort\fR
.SH "DESCRIPTION"
Abort current git rebase, merge or cherry\-pick process\.
Abort current git revert, rebase, merge or cherry\-pick process\.
.SH "OPTIONS"
There are no options, it just aborts current operation\.
.SH "EXAMPLES"

View file

@ -81,7 +81,7 @@
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p> Abort current git rebase, merge or cherry-pick process.</p>
<p> Abort current git revert, rebase, merge or cherry-pick process.</p>
<h2 id="OPTIONS">OPTIONS</h2>

View file

@ -7,7 +7,7 @@ git-abort(1) -- Abort current git operation
## DESCRIPTION
Abort current git rebase, merge or cherry-pick process.
Abort current git revert, rebase, merge or cherry-pick process.
## OPTIONS