Skip to content

Commit b74307f

Browse files
anderskpaulusmack
authored andcommitted
gitk: Update cherry-pick error message parsing
Commit 981ff5c changed the error message from git cherry-pick from Automatic cherry-pick failed. [...advice...] to error: could not apply 7ab78c9... Do something neat. [...advice...] Update gitk’s regex to match this, restoring the ability to launch git citool to resolve conflicted cherry-picks. Signed-off-by: Anders Kaseorg <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 8dd60f5 commit b74307f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9065,7 +9065,7 @@ proc cherrypick {} {
90659065
to file '%s'.\nPlease commit, reset or stash\
90669066
your changes and try again." $fname]
90679067
} elseif {[regexp -line \
9068-
{^(CONFLICT \(.*\):|Automatic cherry-pick failed)} \
9068+
{^(CONFLICT \(.*\):|Automatic cherry-pick failed|error: could not apply)} \
90699069
$err]} {
90709070
if {[confirm_popup [mc "Cherry-pick failed because of merge\
90719071
conflict.\nDo you wish to run git citool to\

0 commit comments

Comments
 (0)