diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2012-11-22 19:58:54 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-26 21:34:28 +0400 |
commit | f7d8e3d01f46ecfa5b4bc8c13640831d97a78236 (patch) | |
tree | 6f69ff022da38e3c27ebc719bf2a259a03f51637 /git-p4.py | |
parent | e8a1f5a2ae53805986b1b965e036450bdfc0c460 (diff) |
emacs: make 'git-status' work with separate git dirs
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 relaxing the existing detection a little bit.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
0 files changed, 0 insertions, 0 deletions