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

Re: [PATCH v2] autocrlf: Make it work also for un-normalized repositories

From
Hnerik Grubbström <grubba@grubba.org>
Date
May 12, 2010, 09:26 UTC
Message-ID
<loom.20100512T112040-607@post.gmane.org>
In-Reply-To
<20100511223757.GB16974@pvv.org>
Finn Arne Gangstad <finnag <at> pvv.org> writes:
Show 12 quoted lines
> Previously, autocrlf would only work well for normalized
> repositories. Any text files that contained CRLF in the repository
> would cause problems, and would be modified when handled with
> core.autocrlf set.
> 
> The following sequence should now always be a NOP even with autocrlf
> set (assuming a clean working directory):
> 
> git checkout <something>
> touch *
> git add -A .    (will add nothing)
> git commit      (nothing to commit)

Please note that the above problem is solved for the general case with the "[PATCH v3 0/5] Patches to avoid reporting conversion changes." patch set.

-- /grubba

Previous: Eyvind BernhardsenNext: Clemens Buchacher
Message 4 of 5 in “autocrlf: Make it work also for un-normalized repositories”
  1. autocrlf: Make it work also for un-normalized repositoriesFinn Arne Gangstad, May 11, 2010
  2. Dmitry PotapovMay 12, 2010
  3. Eyvind BernhardsenMay 12, 2010
  4. Hnerik GrubbströmMay 12, 2010
  5. Clemens BuchacherMay 23, 2010

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.