From df631132c02c9eb98e7e8b114f2d492f481eca0f Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Wed, 15 Aug 2012 12:14:23 +0400 Subject: [PATCH] dead code --- .../src/git4idea/history/GitHistoryUtils.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java b/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java index cf035972d5eb..769504c145c5 100644 --- a/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java +++ b/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java @@ -203,20 +203,12 @@ public class GitHistoryUtils { if (! GitUtil.isGitRoot(new File(root.getPath()))) throw new VcsException("Path " + root.getPath() + " is not git repository root"); final GitLineHandler h = new GitLineHandler(project, root, GitCommand.LOG); - //GitSimpleHandler h = new GitSimpleHandler(project, root, GitCommand.LOG); - GitLogParser parser = new GitLogParser(project, GitLogParser.NameStatus.STATUS, HASH, COMMIT_TIME); h.setNoSSH(true); h.setSilent(true); h.addParameters("--all", "--pretty=format:%H%x20%ct%x0A", "--date-order", "--reverse", "--encoding=UTF-8", "--full-history", "--sparse"); h.endOptions(); - // for file sort - final Long[] minTs = new Long[1]; - minTs[0] = Long.MAX_VALUE; - final Long[] maxTs = new Long[1]; - minTs[0] = 0L; - final OutputStream[] stream = new OutputStream[1]; try { stream[0] = new BufferedOutputStream(new FileOutputStream(outFilePath, false)); @@ -273,10 +265,6 @@ public class GitHistoryUtils { throw new VcsException(e); } } - /*String result = h.run(); - if (result.length() > 0) { - throw new VcsException(result); - }*/ File file = new File(outFilePath); if (! file.exists() || file.length() == 0) throw new VcsException("Short repository history not loaded"); }