GNU bug report logs -
#18788
24.4; vc-git-working-revision vs mode-line gives error
Previous Next
Reported by: Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
Date: Wed, 22 Oct 2014 08:33:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.4
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 18788 <at> debbugs.gnu.org (full text, mbox):
On 01/31/2015 03:09 PM, Kevin Brubeck Unhammer wrote:
> The repo I've seen it with under ~ if that makes any difference (ie.
> ~/.git) – I can't remember if I've seen it other places.
Is '~/.git' the name of the directory under version control? That could
be the cause of your problem: there is a directory with this name in
(almost) every Git repository, and it's used to store all version
control information. Git could be getting confused by this name.
> I get
>
> fatal: Not a git repository: .git
This points to the above explanation. However, it's odd that you can't
reproduce the problem reliably.
> Notably, this only happens with files that are in subdirectories of ~
> (but still tracked by the ~ repo), not with files that are directly
> inside ~. E.g. it happens with ~/org/gtd.org, but not with ~/.gitignore.
Did that happen with files inside ~/org/gtd.org? Was the error message
the same?
> When I restarted emacs to see if it had anything to do with my init.el,
> the bug was gone again.
Yeah, I think we'll need a solid reproduction to fix it.
This bug report was last modified 9 years and 207 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.