Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
BZ-1054267: downgrade UberFire version of JGit
Browse files Browse the repository at this point in the history
  • Loading branch information
porcelli committed Jan 16, 2014
1 parent 843cf62 commit 74ac67a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -62,7 +62,7 @@
import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevObject;
import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.storage.file.FileRepositoryBuilder;
import org.eclipse.jgit.storage.file.FileRepository;
import org.eclipse.jgit.transport.CredentialsProvider;
import org.eclipse.jgit.transport.RefSpec;
import org.eclipse.jgit.treewalk.CanonicalTreeParser;
Expand Down Expand Up @@ -196,7 +196,7 @@ public static Git cloneRepository( final File repoFolder,
final Repository repository;
final Git git;
if ( gitDir != null && gitDir.exists() ) {
repository = FileRepositoryBuilder.create( gitDir );
repository = new FileRepository( gitDir );
git = new Git( repository );
} else {
git = Git.cloneRepository()
Expand Down Expand Up @@ -377,7 +377,7 @@ public static void commit( final Git git,
final CommitInfo commitInfo,
final boolean amend,
final CommitContent content ) {
if (content instanceof RevertCommitContent){
if ( content instanceof RevertCommitContent ) {
commit( git, branchName, commitInfo, amend, resolveObjectId( git, ( (RevertCommitContent) content ).getRefTree() ), content );
} else {
commit( git, branchName, commitInfo, amend, null, content );
Expand Down
2 changes: 1 addition & 1 deletion uberfire-parent-with-dependencies/pom.xml
Expand Up @@ -78,7 +78,7 @@

<version.org.apache.lucene>4.0.0</version.org.apache.lucene>
<version.org.apache.helix>0.6.2-incubating</version.org.apache.helix>
<version.org.eclipse.jgit>3.1.0.201310021548-r</version.org.eclipse.jgit>
<version.org.eclipse.jgit>2.1.0.201209190230-r</version.org.eclipse.jgit>

<version.org.apache.sshd>0.9.0</version.org.apache.sshd>
<version.org.ocpsoft.prettytime>3.0.2.Final</version.org.ocpsoft.prettytime>
Expand Down

0 comments on commit 74ac67a

Please sign in to comment.