If I create a repository containing a file with a ~ in it in a 
subdirectory(note it only fails from within a subdirectory, not the root 
directory) I am unable to fully clone the repository using Git for Windows 
1.95.  If I downgrade to Git for Windows 1.90, I am able to clone it 
successfully.

A sample repo can be found here, https://github.com/mrawdon/BadTildeRepo

I've included the console output below showing the issue using Windows Git 
1.9.5 below

/test/BadTildeRepo (master)
$ git pull
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 1), reused 3 (delta 1)
Unpacking objects: 100% (3/3), done.
>From https://github.com/mrawdon/BadTildeRepo
   d45221a..e007d59  master     -> origin/master
Updating d45221a..e007d59
error: Invalid path 'testDir/image~10.wmf'
Fast-forward
 testDir/image~10.wmf | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 testDir/image~10.wmf

/test/BadTildeRepo (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        deleted:    testDir/image~10.wmf
Pat@PATRICK-PC /C/Users/Pat/mitrend/test/BadTildeRepo (master)
$ ls
fileWith~init.txt  normalFilename.txt

/test/BadTildeRepo (master)
$ git --version
git version 1.9.5.msysgit.0

Thanks,

Mike Rawdon

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to