diff options
| author | Tomasz Zarna | 2011-02-18 10:41:19 +0000 |
|---|---|---|
| committer | Tomasz Zarna | 2011-02-18 10:41:19 +0000 |
| commit | dcb7e477ee3d1846ae465e13ec42c7d040801f30 (patch) | |
| tree | 8ef283108323d433a2ab5828670ec09fed6a2f52 | |
| parent | 681739b1c82877424192ace581014ad09bc28acf (diff) | |
| download | jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.tar.gz jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.tar.xz jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.zip | |
Wrong constant used when configuring a repository
Bug: 337546
Change-Id: Ib2f31d621caa5f8b24ce74ce82499889d4f30550
| -rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java index b0837e5bb5..54457e523d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java @@ -139,9 +139,9 @@ public class CloneCommand implements Callable<Git> { config.update(repo.getConfig()); repo.getConfig().setString(ConfigConstants.CONFIG_BRANCH_SECTION, - branch, ConfigConstants.CONFIG_REMOTE_SECTION, remote); + branch, ConfigConstants.CONFIG_KEY_REMOTE, remote); repo.getConfig().setString(ConfigConstants.CONFIG_BRANCH_SECTION, - branch, ConfigConstants.CONFIG_KEY_MERGE, branch); //$NON-NLS-1$ //$NON-NLS-2$ + branch, ConfigConstants.CONFIG_KEY_MERGE, branch); repo.getConfig().save(); |
