Git.push: add listeners.

This commit is contained in:
Kirill Likhodedov
2012-02-13 16:29:36 +04:00
parent c275d791d3
commit 26e5124262
@@ -276,7 +276,7 @@ public class Git {
GitRemote remote = pushSpec.getRemote();
GitBranch remoteBranch = pushSpec.getDest();
String destination = remoteBranch.getName().replaceFirst(remote.getName() + "/", "");
return push(repository, remote.getName(), pushSpec.getSource().getName() + ":" + destination);
return push(repository, remote.getName(), pushSpec.getSource().getName() + ":" + destination, listeners);
}
private static GitCommandResult run(@NotNull GitLineHandler handler) {