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. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html