Added a few tests for the RefUpdate delete method, which in turn
exposed two minor bugs. Previously you couldn't delete a ref
pointing to the current branch. Fixing that would also then allow
the current branch to be deleted too.
*** BLURB HERE ***
Charles O'Farrell (4):
Ensured that RefUpdate cannot delete current branch
Fixed bug where RefUpdate didn't delete identical HEAD branch
Added test for RefUpdate branch deletion
Added extra javadoc for delete to significant RefUpdate results
.../tst/org/spearce/jgit/lib/RefUpdateTest.java | 106 ++++++++++++++++++++
.../src/org/spearce/jgit/lib/RefUpdate.java | 30 ++++--
2 files changed, 127 insertions(+), 9 deletions(-)
create mode 100644 org.spearce.jgit.test/tst/org/spearce/jgit/lib/RefUpdateTest.java