{"thread":{"id":"37051","subject":"bug in os x - deleted file on clone","startedAt":"2014-07-03T15:53:28Z","lastAt":"2014-07-03T16:42:51Z","messageCount":2,"participants":["David Salib","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"245379","messageId":"CAG+Rngi4q_Se0dGUKLuSEmub=srrhtDNfEh5n977DL+XZxJjsQ@mail.gmail.com","threadId":"37051","inReplyTo":null,"subject":"bug in os x - deleted file on clone","fromName":"David Salib","fromEmail":"dsalib@fibrenoire.ca","sentAt":"2014-07-03T15:53:28Z","receivedAt":"2014-07-03T15:53:28Z","isPatch":false,"sender":{"key":"dsalib@fibrenoire.ca","avatar":null},"body":"Hello,\n\nWhen I clone a repository using git on osx this happens :\n\n------------\n\ngrandmesse:code dubbed$ git clone ssh://git@[snip]/puppet.git\nCloning into 'puppet'...\nremote: Counting objects: 5313, done.\nremote: Compressing objects: 100% (4086/4086), done.\nremote: Total 5313 (delta 2200), reused 2996 (delta 841)\nReceiving objects: 100% (5313/5313), 2.07 MiB | 0 bytes/s, done.\nResolving deltas: 100% (2200/2200), done.\nChecking connectivity... done.\ngrandmesse:code dubbed$ cd puppet\ngrandmesse:puppet dubbed$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\nChanges not staged for commit:\n  (use \"git add/rm <file>...\" to update what will be committed)\n  (use \"git checkout -- <file>...\" to discard changes in working directory)\ndeleted:    modules/areversat-nidautoprov/files/dhcp/staticDHCPd/staticDHCPd\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\n-----------------\n\nThis does not happen under linux so the repository isn't the issue.\n\nThanks,\n\nD\n\n\n-- \nDavid Salib\nSpécialiste systèmes / Systems specialist\nFibrenoire - www.fibrenoire.ca\nA: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1\nT. 514 907-3002 x133\n"},{"id":"245380","messageId":"20140703164250.GA20571@sigill.intra.peff.net","threadId":"37051","inReplyTo":"CAG+Rngi4q_Se0dGUKLuSEmub=srrhtDNfEh5n977DL+XZxJjsQ@mail.gmail.com","subject":"Re: bug in os x - deleted file on clone","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-07-03T16:42:51Z","receivedAt":"2014-07-03T16:42:51Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Jul 03, 2014 at 11:53:28AM -0400, David Salib wrote:\n\n> When I clone a repository using git on osx this happens :\n> [...]\n> deleted:    modules/areversat-nidautoprov/files/dhcp/staticDHCPd/staticDHCPd\n> [...]\n> This does not happen under linux so the repository isn't the issue.\n\nDoes the repository have similar paths distinguished only by case? Try\nlooking at the output of:\n\n  git ls-tree HEAD\n\nIf your file system is case-insensitive, then it might not be possible\nto represent the repository contents on disk (git has some workarounds\nto handle case-insensitivty, but fundamentally such filesystems cannot\nrepresent \"FOO\" and \"foo\" with different contents, and you are best off\nnot trying to store that in your repository).\n\n-Peff\n"}]}