emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: project.el: git submodules?


From: Dmitry Gutov
Subject: Re: project.el: git submodules?
Date: Thu, 14 May 2020 03:32:55 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 13.05.2020 00:09, Stefan Monnier wrote:
But I guess a first approximation is to check "is there another .git
somewhere further up the directory tree and if so, does it use
the same repository as the current .git does?".
That seems to imply traversing up the directory tree until '/' in some
cases. Right?
Yes (which is no worse than what we do when there's no .git at all;-)

Hmm, good point.

I even have a patch, but here's another thought: wouldn't this mistakenly punish people who keep their $HOME as a Git repository to sync between machines?

Any other repositories they are working on are likely inside.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]