Re: [PATCH] emacs: make 'git-status' work with separate git dirs

2012-11-25 Thread Alexandre Julliard
Junio C Hamano gits...@pobox.com writes: Enrico Scholz enrico.sch...@sigma-chemnitz.de writes: when trying 'M-x git-status' in a submodule created with recent (1.7.5+) git, the command fails with | ... is not a git working tree This is caused by creating submodules with

Re: [PATCH] emacs: make 'git-status' work with separate git dirs

2012-11-24 Thread Junio C Hamano
Enrico Scholz enrico.sch...@sigma-chemnitz.de writes: when trying 'M-x git-status' in a submodule created with recent (1.7.5+) git, the command fails with | ... is not a git working tree This is caused by creating submodules with '--separate-git-dir' but still checking for a working tree

[PATCH] emacs: make 'git-status' work with separate git dirs

2012-11-22 Thread Enrico Scholz
when trying 'M-x git-status' in a submodule created with recent (1.7.5+) git, the command fails with | ... is not a git working tree This is caused by creating submodules with '--separate-git-dir' but still checking for a working tree by testing for a '.git' directory. The patch fixes this by