Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce2010-06-25 01:45:57 +0000
committerShawn O. Pearce2010-06-26 00:46:40 +0000
commit77b39df5ecdcff4d0ef68e7441526426499914e3 (patch)
tree75f4d6d47e314aa2292f7c20a6b43e6e4f454f47 /org.eclipse.jgit.junit/src
parentf18b853044b57f1ffd1a3698f05b19d51e9b9c1b (diff)
downloadjgit-77b39df5ecdcff4d0ef68e7441526426499914e3.tar.gz
jgit-77b39df5ecdcff4d0ef68e7441526426499914e3.tar.xz
jgit-77b39df5ecdcff4d0ef68e7441526426499914e3.zip
Consistently fail work tree methods on bare repositories
If the working tree isn't available, it doesn't make any sense to obtain the merge heads, or the buffered commit message. The repository shouldn't have a partial merge state to read. Throw back the same exception we do when invoking getWorkDir() on a bare repository instance. Change-Id: I762c55890b7fe272a183da583f910671d1cadf71 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
0 files changed, 0 insertions, 0 deletions

Back to the top