Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.eclipse.jgit.api.CherryPickResult.getFailingPaths() seems to always contain a single entry #137

Open
sorincarbunaru opened this issue Feb 4, 2025 · 1 comment

Comments

@sorincarbunaru
Copy link

sorincarbunaru commented Feb 4, 2025

Version

7.1.0

Operating System

Windows

Bug description

I am trying to cherry-pick a commit that contains 2 modified files using CherryPickCommand. The cherry-pick results in CherryPickStatus.FAILED, because I also have the same 2 files modified in my working copy (as unstaged files). When I print CherryPickResult.getFailingPaths(), I only see only one file in the map with MergeFailureReason=DIRTY_WORKTREE.

Actual behavior

CherryPickResult.getFailingPaths() reports a single failing path.

Expected behavior

CherryPickResult.getFailingPaths() should have reported 2 failing paths.

Relevant log output

Other information

I tried the same scenario in EGit in Eclipse. It also reports a single failing path, although SourceTree for example reports, as expected, 2 of them.

@tomaswolf
Copy link
Contributor

Yes, the ResolveMergerstops on the first failing path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants