Re: Probably a bug with "~" symbol in filenames on Windows 7 x64 in git 1.9.5
- From
Jeff King <peff@peff.net>
- Date
- Jan 8, 2015, 10:28 UTC
- Message-ID
- <20150108102815.GA4806@peff.net>
- In-Reply-To
- <alpine.DEB.1.00.1501081100570.21312@s15462909.onlinehome-server.info>
On Thu, Jan 08, 2015 at 11:06:18AM +0100, Johannes Schindelin wrote:
Show 9 quoted lines
> ICON~714.PNG is a valid short name for a long name (such as > 'icon.background.png') because it fits the shortening scheme (8.3 format, > the base name ends in ~<n>). As this can clash with a validly shortened > long name, Git for Windows refuses to check out such paths by default. > > If you want the old -- unsafe -- behavior back, just set your > core.protectNTFS to false (this means that you agree that the incurred > problems are your own responsibility and cannot be blamed on anybody else > ;-))
I wonder if it is worth having a "git-only" mode for core.protectNTFS. Turning it off entirely would make him susceptible to GIT~1 attacks.
-Peff
-- -- *** 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.