emacs-devel
[Top][All Lists]
Advanced

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

Re: Locations of Tests


From: David Kastrup
Subject: Re: Locations of Tests
Date: Wed, 04 Nov 2015 20:23:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Steinar Bang <address@hidden> writes:

>>>>>> Artur Malabarba <address@hidden>:
>> On 4 Nov 2015 5:53 pm, "John Wiegley" <address@hidden> wrote:
>
>>> I'd happily accept a patch to move things into accordance with the naming
>>> structure under lisp/.
>
>> Same here. Just make sure it doesn't mess up git blame. ;-)
>
> ...and file history.
>
> What this means in practice, is that files should be moved verbatim.
>
> You can change files once they are in place in the new location, but the
> first commit in the new location should be of files with identical SHA1
> hashes as the files in the old location.
>
> git tracks history across moves/renames by matching the file content
> SHA1 hashes of files in other locations.

That's what always works, but git blame's -C option will try getting
stuff matched even if you don't properly rename.  But -C is expensive.
And it's always a nuisance to supply the like of C-x v g with additional
options.

-- 
David Kastrup



reply via email to

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