[git] Don't print git log --tags command output to the log & console

This commit is contained in:
Kirill Likhodedov
2013-10-29 21:09:38 +04:00
parent 6377dc26e3
commit 633f1c73b0
@@ -132,6 +132,7 @@ public class GitLogProvider implements VcsLogProvider {
// TODO this is to be removed when tags will be supported by the GitRepositoryReader
private Collection<? extends VcsRef> readTags(@NotNull VirtualFile root) throws VcsException {
GitSimpleHandler tagHandler = new GitSimpleHandler(myProject, root, GitCommand.LOG);
tagHandler.setSilent(true);
tagHandler.addParameters("--tags", "--no-walk", "--format=%H%d" + GitLogParser.RECORD_START_GIT, "--decorate=full");
String out = tagHandler.run();
Collection<VcsRef> refs = new ArrayList<VcsRef>();