emacs-devel
[Top][All Lists]
Advanced

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

Re: prevent vc-git.el from unnecessarily locking .git/index.lock


From: Chong Yidong
Subject: Re: prevent vc-git.el from unnecessarily locking .git/index.lock
Date: Mon, 26 Mar 2012 11:08:10 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Ami Fischman <address@hidden> writes:

> Problem: starting with 15b73245 vc-git-state (and thus anything that
> puts a file's git VC state in the modeline) causes the git index to be
> locked periodically by emacs, even though it doesn't need to.  This
> causes rebases (or any other index-lock-needing operation) run by the
> user in the same repository to fail, when the locks collide.  Proposed
> solution: the attached patch makes locking the index more selective.

Looks reasonable.  Committed; thanks.



reply via email to

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