Permalink
Browse files

Remove yet another legacy StGit utility function

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
  • Loading branch information...
1 parent e81c49f commit 0ad9b7247ca999610cde92a675d39780aff43b41 @spearce spearce committed with robinrosenberg Feb 12, 2009
Showing with 0 additions and 19 deletions.
  1. +0 −19 org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java
@@ -877,25 +877,6 @@ public String toString() {
return "Repository[" + getDirectory() + "]";
}
- /**
- * @return name of topmost Stacked Git patch.
- * @throws IOException
- */
- public String getPatch() throws IOException {
- final File ptr = new File(getDirectory(),"patches/"+getBranch()+"/applied");
- final BufferedReader br = new BufferedReader(new FileReader(ptr));
- String last=null;
- try {
- String line;
- while ((line=br.readLine())!=null) {
- last = line;
- }
- } finally {
- br.close();
- }
- return last;
- }
-
/**
* @return name of current branch
* @throws IOException

0 comments on commit 0ad9b72

Please sign in to comment.