Re: [PATCH 3/3] git-bundle: prevent overwriting existing bundles
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 9, 2007, 03:05 UTC
- Message-ID
- <Pine.LNX.4.63.0703090403090.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070309025902.GE32211@spearce.org>
Hi,
On Thu, 8 Mar 2007, Shawn O. Pearce wrote:
Show 8 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > if (bundle_fd < 0)
> > - return error("Could not write to '%s'", path);
> > + return error("Could not create '%s'", path);
>
> I hate to be a nit, but what about?
>
> > + return error("Could not create '%s': %s", path, strerror(errno));ACK