[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
Re: Locations of Tests, Michael Albinus, 2015/11/04
- Re: Locations of Tests, John Wiegley, 2015/11/04
- Re: Locations of Tests, Phillip Lord, 2015/11/04
- Re: Locations of Tests, Stephen Leake, 2015/11/05
- Re: Locations of Tests, Artur Malabarba, 2015/11/05
- Re: Locations of Tests, Nicolas Petton, 2015/11/05
- Re: Locations of Tests, Artur Malabarba, 2015/11/05
- Re: Locations of Tests, Phillip Lord, 2015/11/06
Re: Locations of Tests, Juanma Barranquero, 2015/11/05