Make Branch.NameKey enforce full ref names
Also remove some now redundant ref fixes before constructing Branch.NameKeys. This reduces the proliferation of "correcting" code. Change-Id: I5d9864d7c6ea7252f05a4ccabcf124cb014c4fae
This commit is contained in:

committed by
David Pursehouse

parent
c16ab0df0d
commit
4ddbfc9a8b
@@ -307,8 +307,7 @@ public class ConsistencyChecker {
|
||||
return;
|
||||
}
|
||||
if (dest == null) {
|
||||
problem("Destination ref not found (may be new branch): "
|
||||
+ change.getDest().get());
|
||||
problem("Destination ref not found (may be new branch): " + refName);
|
||||
return;
|
||||
}
|
||||
RevCommit tip = parseCommit(dest.getObjectId(),
|
||||
|
Reference in New Issue
Block a user