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

Re: [PATCH] Correct fast-export file mode strings to match fast-import standard

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 26, 2008, 00:54 UTC
Message-ID
<alpine.DEB.1.00.0802260054000.3322@eeepc-johanness>
In-Reply-To
<20080225035728.GA26302@spearce.org>
Hi,
On Sun, 24 Feb 2008, Shawn O. Pearce wrote:
> The fast-import file format does not expect leading '0' in front
> of a file mode; that is we want '100644' and '0100644'.
s/and/& not/
> -			printf("M 0%06o :%d %s\n", spec->mode,
> +			printf("M %06o :%d %s\n", spec->mode,
Definitely embarassing.

Thanks, Dscho

Previous: Shawn O. Pearce
Message 2 of 2 in “Correct fast-export file mode strings to match fast-import standard”
  1. Correct fast-export file mode strings to match fast-import standardShawn O. Pearce, Feb 25, 2008
  2. Johannes SchindelinFeb 26, 2008

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.