Skip to content

Commit

Permalink
use -r for pulling branch instead of -b
Browse files Browse the repository at this point in the history
  • Loading branch information
bubenkoff committed Feb 6, 2014
1 parent c7c547c commit e41e5b0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -198,7 +198,7 @@ public String pullChanges(String otherRepo) throws IOException, InterruptedExcep

public String pullChanges(String otherRepo, String branch) throws IOException, InterruptedException {
String output = popen(this.filePath, listener, DEFAULT_PUSH_TIMEOUT, new ArgumentListBuilder(
"pull", otherRepo, "-b", branch));
"pull", otherRepo, "-r", branch));
if (StringUtils.isEmpty(output)) {
return "";
}
Expand Down

0 comments on commit e41e5b0

Please sign in to comment.