git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: David Salib <dsalib@fibrenoire.ca>
Cc: git@vger.kernel.org
Subject: Re: bug in os x - deleted file on clone
Date: Thu, 3 Jul 2014 12:42:51 -0400	[thread overview]
Message-ID: <20140703164250.GA20571@sigill.intra.peff.net> (raw)
In-Reply-To: <CAG+Rngi4q_Se0dGUKLuSEmub=srrhtDNfEh5n977DL+XZxJjsQ@mail.gmail.com>

On Thu, Jul 03, 2014 at 11:53:28AM -0400, David Salib wrote:

> When I clone a repository using git on osx this happens :
> [...]
> deleted:    modules/areversat-nidautoprov/files/dhcp/staticDHCPd/staticDHCPd
> [...]
> This does not happen under linux so the repository isn't the issue.

Does the repository have similar paths distinguished only by case? Try
looking at the output of:

  git ls-tree HEAD

If your file system is case-insensitive, then it might not be possible
to represent the repository contents on disk (git has some workarounds
to handle case-insensitivty, but fundamentally such filesystems cannot
represent "FOO" and "foo" with different contents, and you are best off
not trying to store that in your repository).

-Peff

      reply	other threads:[~2014-07-03 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 15:53 bug in os x - deleted file on clone David Salib
2014-07-03 16:42 ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140703164250.GA20571@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=dsalib@fibrenoire.ca \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).