From: "Shawn O. Pearce" <spearce@spearce.org>
To: Robin Rosenberg <robin.rosenberg@dewire.com>
Cc: git@vger.kernel.org
Subject: Re: [EGIT PATCH 6/9] Add branch and StGit patch to decorator
Date: Wed, 28 Feb 2007 22:59:10 -0500 [thread overview]
Message-ID: <20070301035909.GA8103@spearce.org> (raw)
In-Reply-To: <20070228222637.12021.63285.stgit@lathund.dewire.com>
Robin Rosenberg <robin.rosenberg@dewire.com> wrote:
> + public String getPatch() throws IOException {
> + final File ptr = new File(getDirectory(),"patches/"+getBranch()+"/current");
> + final BufferedReader br = new BufferedReader(new FileReader(ptr));
> + final String line = br.readLine();
> + return line;
> + }
Last time I checked leaking a file descriptor was a bad idea.
I fixed it (in both methods) when I applied the patch.
Your whole series is now pushed. Thanks for the cleanups.
--
Shawn.
next prev parent reply other threads:[~2007-03-01 3:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-28 22:26 [EGIT PATCH 0/9] Misc minor fixes Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 1/9] Minor fix Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 2/9] Catch mmap errors and retry Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 3/9] Use mmap per default Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 4/9] Add .qualifier to the plugin version Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 5/9] Force full checkpoint for CheckpointOperation Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 6/9] Add branch and StGit patch to decorator Robin Rosenberg
2007-03-01 3:59 ` Shawn O. Pearce [this message]
2007-03-01 8:22 ` Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 7/9] Support tag objects Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 8/9] Handle odd tag formats created by tools such as cvsimport Robin Rosenberg
2007-02-28 22:26 ` [EGIT PATCH 9/9] Performance test for jgit Robin Rosenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070301035909.GA8103@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).