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>
This commit is contained in:
Robin Rosenberg 2010-07-10 02:32:46 +02:00
parent d1378e4c51
commit a1492f1922
1 changed files with 2 additions and 2 deletions

View File

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