Fix RefUpdate.delete to update the result status
commitdcbb6688edc5b6b9868d0f8a709f1f589ee289df
authorShawn O. Pearce <spearce@spearce.org>
Thu, 12 Feb 2009 23:54:35 +0000 (12 15:54 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 18 Feb 2009 21:22:39 +0000 (18 22:22 +0100)
tree1324d8544bb8829ca0f28f402285902127b7b7d9
parent22fbd6a557f3df19a8bf9d6dad6b5069578b159e
Fix RefUpdate.delete to update the result status

Some applications may want to use getResult() to obtain the
status of the delete operation, as perhaps they lost access
to the return value.  This makes delete() more consistent in
use with update().

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/RefUpdate.java