]> source.dussan.org Git - jgit.git/commit
RepositoryState: add method canAmend 74/4674/3
authorJens Baumgart <jens.baumgart@sap.com>
Mon, 28 Nov 2011 09:46:16 +0000 (10:46 +0100)
committerJens Baumgart <jens.baumgart@sap.com>
Mon, 28 Nov 2011 09:46:16 +0000 (10:46 +0100)
commit99ec987e681c5a21a4a485b778e990e96c52ac51
treec07552486f12e1d194d8a8a55b6b3b0db5968aa8
parentb4495d1005e6e03e921ed116614ec45499f1923d
RepositoryState: add method canAmend

The method canAmend was added to RepositoryState. It returns true if
amending the HEAD commit is allowed in the current repository state.

Change-Id: Idd0c4eea83a23c41340789b7b877959b457d951e
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryState.java