List of usage examples for org.eclipse.jgit.lib RepositoryState REBASING_MERGE
RepositoryState REBASING_MERGE
To view the source code for org.eclipse.jgit.lib RepositoryState REBASING_MERGE.
Click Source Link
From source file:com.mangosolutions.rcloud.rawgist.repository.git.BareCommitCommand.java
private boolean isMergeDuringRebase(RepositoryState state) { if (state != RepositoryState.REBASING_INTERACTIVE && state != RepositoryState.REBASING_MERGE) { return false; }//from w ww . j ava 2s. c o m try { return repo.readMergeHeads() != null; } catch (IOException e) { throw new JGitInternalException(MessageFormat .format(JGitText.get().exceptionOccurredDuringReadingOfGIT_DIR, Constants.MERGE_HEAD, e), e); } }