| author | Tomasz Zarna | 2011-02-18 05:41:19 (EST) |
|---|---|---|
| committer | Tomasz Zarna | 2011-02-18 05:41:19 (EST) |
| commit | dcb7e477ee3d1846ae465e13ec42c7d040801f30 (patch) (side-by-side diff) | |
| tree | 8ef283108323d433a2ab5828670ec09fed6a2f52 | |
| parent | 681739b1c82877424192ace581014ad09bc28acf (diff) | |
| download | jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.zip jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.tar.gz jgit-dcb7e477ee3d1846ae465e13ec42c7d040801f30.tar.bz2 | |
Wrong constant used when configuring a repositoryrefs/changes/31/2531/2
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 b0837e5..54457e5 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(); |

