From: Petr Baudis <pasky@suse.cz>
To: Andrew Vit <andrew@avit.ca>
Cc: git@vger.kernel.org
Subject: Re: Files that want to delete themselves
Date: Wed, 24 Sep 2008 20:04:36 +0200 [thread overview]
Message-ID: <20080924180436.GJ10544@machine.or.cz> (raw)
In-Reply-To: <19654453.post@talk.nabble.com>
Hi,
On Wed, Sep 24, 2008 at 10:55:02AM -0700, Andrew Vit wrote:
> I have a Rails project that I'm managing with git and I have a strange
> problem with one of the plugin directories. Every time I do `git add .` it
> tries to delete itself... Any idea what might be happening?
so how does that look like in git diff? My guess is you have a .git/
subdirectory there and thus Git assumes that it is a submodule? I don't
think we actually have a way to specify that some directory should NOT
be considered a submodule even if it is a git checkout... So you will
probably either have to actually convert this to a submodule in your
project (probably the sanest thing to do), move the .git subdirectory
away or submit a patch that will add say a .gitattributes flag not to
consider this subdirectory to be a submodule (which might make some
sense).
--
Petr "Pasky" Baudis
People who take cold baths never have rheumatism,
but they have cold baths.
next prev parent reply other threads:[~2008-09-24 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 17:55 Files that want to delete themselves Andrew Vit
2008-09-24 18:04 ` Petr Baudis [this message]
2008-09-24 18:18 ` Andrew Vit
2008-09-24 18:05 ` Shawn O. Pearce
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=20080924180436.GJ10544@machine.or.cz \
--to=pasky@suse.cz \
--cc=andrew@avit.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.