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

Re: Re: Probably a bug with "~" symbol in filenames on Windows 7 x64 in git 1.9.5

From
Torsten Bögershausen <tboegi@web.de>
Date
Jan 8, 2015, 16:37 UTC
Message-ID
<54AEB246.4010109@web.de>
In-Reply-To
<alpine.DEB.1.00.1501081652230.21312@s15462909.onlinehome-server.info>
On 01/08/2015 04:58 PM, Johannes Schindelin wrote:
Show 16 quoted lines
> Hi Torsten,
> 
> On Thu, 8 Jan 2015, Torsten Bögershausen wrote:
> 
>> There is something more then just the "tilde" protection going on, [...]
> 
> Indeed. What is going on is that you build Git yourself, from git.git,
> while Dmitry obviously used Git for Windows -- which carries a couple of
> patches on top of upstream git.git.
> 
> In this particular case, the tilde protection was introduced in
> https://github.com/msysgit/git/commit/2e2a2d12.
> 
> Ciao,
> Johannes
> 
My bad, I was building the msysgit master branch, which didn't have the 2e2a2d12.

However, I am wondering if 2e2a2d12 is really needed that much ? In the same spirit that we do not prevent the checkout of "FILE" when "file" is present, why do we prevent people from using "~" in file names ? When a file is visible under different file names, I assume that the user chooses only one representation to run "git add" on. But that is another discussion.

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 9 of 11 in “Probably a bug with "~" symbol in filenames on Windows 7 x64 in git 1.9.5”
  1. Dmitry BykovJan 7, 2015
  2. Stefan BellerJan 7, 2015
  3. Junio C HamanoJan 7, 2015
  4. Johannes SchindelinJan 8, 2015
  5. Jeff KingJan 8, 2015
  6. Johannes SchindelinJan 8, 2015
  7. Torsten BögershausenJan 8, 2015
  8. Johannes SchindelinJan 8, 2015
  9. Torsten BögershausenJan 8, 2015
  10. Junio C HamanoJan 8, 2015
  11. Jeff KingJan 8, 2015

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.