[Top][All Lists]

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

bug#49683: Unable to open file under Git VC

From: Lars Ingebrigtsen
Subject: bug#49683: Unable to open file under Git VC
Date: Wed, 21 Jul 2021 23:57:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Yan Gajdos <yan@gajdos.info> writes:

> Explanation:
> The file used to be in a Git hierarchy, but its directory was moved, and this 
> directory is only pointed to with a symbolic link now.
> This seems to give the impression that it both is and isn't under version 
> control, so vc-working-revision returning nil causes the issue.
> Solution:
> Only attempt to get substring of rev if rev is non-nil.

Thanks; makes sense to me.  I've now pushed your patch to Emacs 28.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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