On Mon, Jul 20, 2009 at 09:54:12AM -0400, Geoffrey Irving wrote: > git 1.6.3.3 has a bug related to .git file support and aliases. > Specifically, if you make an alias for status and call it from a > subdirectory, git status chdirs into the true .git dir but then > chdir's back to the wrong place in order to run the lstats for status. > The result is that git status thinks all files have disappeared. Yeah, this is a known problem. The problem is that the 'git' wrapper sets up the environment only partially when running aliases, and then the resulting command ends up confused about where the worktree is. I really don't remember the specifics, but you can probably find some discussion in the list archives. Fixing it, IIRC, required some refactoring of the setup code (which I had hoped to get to at some point, but I am way behind on my git todo list). Hmm. Poking around a bit, this seems related, but I don't know why I never followed up: http://article.gmane.org/gmane.comp.version-control.git/72792 -Peff -- 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