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

symbolic links in Git for Windows v2.27.0, was Re: [ANNOUNCE] Git for Windows 2.27.0-rc2

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 28, 2020, 21:35 UTC
Message-ID
<nycvar.QRO.7.76.6.2005282322580.56@tvgsbejvaqbjf.bet>
In-Reply-To
<20200526204539.6181-1-johannes.schindelin@gmx.de>
Dear Git users,
On Tue, 26 May 2020, Johannes Schindelin wrote:
> I hereby announce that Git for Windows 2.27.0-rc2 is available from:
>
>     https://github.com/git-for-windows/git/releases/tag/v2.27.0-rc2.windows.1

Git for Windows v2.27.0 will be out on Tuesday (or even on Monday if Git v2.27.0 is released early enough). It has a (last-minute) bug fix where the length of symbolic links that is recorded in the Git index is the _actual_ length of the link target, so that `git status` agrees between Git for Windows and WSL Git.

Unfortunately, that means that every existing checkout that contains symbolic links tracked by Git will report them as changed until `git add <path-to-symlink>` (or `git add -u`) is called.

In cases where users use both Git Bash and another version of Git, this might cause the problem where one of them will always report the symbolic links as modified in `git status`, but not in `git diff`.

Sorry about the late heads-up, I only just realized that this might pose a problem. Granted, symbolic links are not all _that_ common on Windows.

Ciao, Johannes

Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 13 in “[ANNOUNCE] Git for Windows 2.27.0-rc2”
  1. Johannes SchindelinMay 26, 2020
  2. symbolic links in Git for Windows v2.27.0, was Re: [ANNOUNCE] Git for Windows 2.27.0-rc2Johannes Schindelin, May 28, 2020
  3. Junio C HamanoMay 29, 2020
  4. Johannes SchindelinMay 29, 2020
  5. brian m. carlsonMay 29, 2020
  6. Johannes SchindelinMay 29, 2020
  7. brian m. carlsonMay 30, 2020
  8. Johannes SchindelinMay 30, 2020
  9. Junio C HamanoJun 1, 2020
  10. Johannes SchindelinJun 2, 2020
  11. Junio C HamanoJun 2, 2020
  12. Johannes SchindelinJun 3, 2020
  13. Junio C HamanoJun 3, 2020

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.