Version
7.6
Operating System
Windows
Bug description
Perform a Pull using JGit with rebase on, e.g.
PullResult result = git.pull().setRebase(true).call();
log.debug("pull result was" + result);
Actual behavior
When logging or debugging a PullResult using rebase you end up with e.g.
org.eclipse.jgit.transport.FetchResult@359d2e00
org.eclipse.jgit.api.RebaseResult@7bbf623a
Expected behavior
Expect that the result should be descriptive of what has happened during the command.
Relevant log output
org.eclipse.jgit.transport.FetchResult@359d2e00
org.eclipse.jgit.api.RebaseResult@7bbf623a
Other information
Relates to the toString here which is a composite of the state:
|
public String toString() { |
There is a useful toString for MergeResult but not for FetchResult or RebaseResult which therefore simply defer to Object.toString
Version
7.6
Operating System
Windows
Bug description
Perform a Pull using JGit with rebase on, e.g.
Actual behavior
When logging or debugging a
PullResultusing rebase you end up with e.g.Expected behavior
Expect that the result should be descriptive of what has happened during the command.
Relevant log output
Other information
Relates to the toString here which is a composite of the state:
jgit/org.eclipse.jgit/src/org/eclipse/jgit/api/PullResult.java
Line 94 in 7aaf909
There is a useful
toStringforMergeResultbut not forFetchResultorRebaseResultwhich therefore simply defer toObject.toString