git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] git-bundle: prevent overwriting existing bundles

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 9, 2007, 02:59 UTC
Message-ID
<20070309025902.GE32211@spearce.org>
In-Reply-To
<Pine.LNX.4.63.0703090348480.22628@wbgn013.biozentrum.uni-wuerzburg.de>
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));
-- 
Shawn.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 3 in “git-bundle: prevent overwriting existing bundles”
  1. 3/3 git-bundle: prevent overwriting existing bundlesJohannes Schindelin, Mar 9, 2007
  2. Shawn O. PearceMar 9, 2007
  3. Johannes SchindelinMar 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.