Browse Source

Say that commit is allowed during bisect

C Git allows this and it is quite handy.

Change-Id: I1d0238b43fca931ad2079649fb7b431e2815c351
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.9
Robin Rosenberg 15 years ago
parent
commit
a1492f1922
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryState.java

4
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryState.java

@ -144,8 +144,8 @@ public enum RepositoryState {
/* Do not reset, checkout instead */ /* Do not reset, checkout instead */
public boolean canResetHead() { return false; } public boolean canResetHead() { return false; }
/* Actually it may make sense, but for now we err on the side of caution */ /* Commit during bisect is useful */
public boolean canCommit() { return false; } public boolean canCommit() { return true; }
public String getDescription() { return "Bisecting"; } public String getDescription() { return "Bisecting"; }
}; };

Loading…
Cancel
Save