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

Re: [PATCH 1/1] Make git archive respect core.autocrlf when creating zip format archives

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Sep 18, 2008, 20:41 UTC
Message-ID
<48D2BCDC.6060809@lsrfire.ath.cx>
In-Reply-To
<20080918200120.GB8631@hashpling.org>
Charles Bailey schrieb:
Show 8 quoted lines
> There is currently no call to git_config at the start of cmd_archive.
> When creating tar archives the core config is read as a side-effect of
> reading the tar specific config, but this doesn't happen for zip
> archives.
> 
> The consequence is that in a configuration with core.autocrlf set,
> although files in a tar archive are created with crlf line endings,
> files in a zip archive retain unix line endings.

The patches look good, but it took me a while to realize that there are two of them (0/1 and 1/1). :)

Thanks, René

Previous: Sverre Rabbelier
Message 6 of 6 in “Make git archive respect core.autocrlf when creating zip format archives”
  1. 1/1 Make git archive respect core.autocrlf when creating zip format archivesCharles Bailey, Sep 18, 2008
  2. Charles BaileySep 18, 2008
  3. Andreas EricssonSep 18, 2008
  4. Charles BaileySep 18, 2008
  5. Sverre RabbelierSep 18, 2008
  6. René ScharfeSep 18, 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.