| | |
| | | import java.util.Set;
|
| | | import java.util.TreeSet;
|
| | |
|
| | | import org.eclipse.jgit.JGitText;
|
| | | import org.eclipse.jgit.api.errors.ConcurrentRefUpdateException;
|
| | | import org.eclipse.jgit.api.errors.JGitInternalException;
|
| | | import org.eclipse.jgit.dircache.DirCache;
|
| | | import org.eclipse.jgit.dircache.DirCacheBuilder;
|
| | | import org.eclipse.jgit.dircache.DirCacheEntry;
|
| | | import org.eclipse.jgit.internal.JGitText;
|
| | | import org.eclipse.jgit.lib.CommitBuilder;
|
| | | import org.eclipse.jgit.lib.Constants;
|
| | | import org.eclipse.jgit.lib.FileMode;
|
| | |
| | | * Updates an issue in the gb-issues branch of the repository.
|
| | | *
|
| | | * @param repository
|
| | | * @param issue
|
| | | * @param issueId
|
| | | * @param change
|
| | | * @return true if successful
|
| | | */
|
| | |
| | | * distributed merging.
|
| | | *
|
| | | * @param repository
|
| | | * @param issue
|
| | | * @param issueId
|
| | | * @param change
|
| | | * @return true, if the change was committed
|
| | | */
|
| | |
| | | * @param issueId
|
| | | * @return the root path of the issue content on the gb-issues branch
|
| | | */
|
| | | private static String getIssuePath(String issueId) {
|
| | | static String getIssuePath(String issueId) {
|
| | | return issueId.substring(0, 2) + "/" + issueId.substring(2);
|
| | | }
|
| | |
|