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

Re: MinGW port updated to GIT 1.5.0

From
Junio C Hamano <junkio@cox.net>
Date
Feb 15, 2007, 17:43 UTC
Message-ID
<7vire3co5s.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<45D44FD5.72299A3A@eudaptics.com>
Johannes Sixt <J.Sixt@eudaptics.com> writes:
> .... The general idea is to extend the meaning of
> `core.filemode = false` to check out symbolic links as plain files. Any
> hints about where the source code needs changes are welcome.

grep for "if (S_ISLNK(mode))", see if it talks about the mode we put (either in tree object or index) and if so they are the places you want them to pretend that you got a regular file.

For example, builtin-apply.c::try_create_file() is one. This writes out "git apply" result (so "am" and "rebase" are affected with this). entry.c::write_entry() is another. This writes things out of the index and used by "checkout-index" and "read-tree -u".

Previous: Marco CostalbaNext: Junio C Hamano
Message 9 of 12 in “MinGW port updated to GIT 1.5.0”
  1. Johannes SixtFeb 15, 2007
  2. GIT 1.5.0 binary installer available.Han-Wen Nienhuys, Feb 15, 2007
  3. Johannes SchindelinFeb 15, 2007
  4. Johannes SchindelinFeb 15, 2007
  5. Shawn O. PearceFeb 15, 2007
  6. Johannes SchindelinFeb 16, 2007
  7. Shawn O. PearceFeb 16, 2007
  8. Marco CostalbaFeb 16, 2007
  9. Junio C HamanoFeb 15, 2007
  10. Junio C HamanoFeb 15, 2007
  11. Johannes SchindelinFeb 15, 2007
  12. Robin RosenbergFeb 15, 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.