[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The name gnus-cloud.el
From: |
Steinar Bang |
Subject: |
Re: The name gnus-cloud.el |
Date: |
Sun, 31 Dec 2017 17:27:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) |
>>>>> Eli Zaretskii <address@hidden>:
>> From: Ted Zlatanov <address@hidden>
>> Date: Sun, 17 Dec 2017 19:33:25 -0500
>> Cc: address@hidden
>> Let me be explicit: I need a go-ahead from the current Emacs maintainers
>> and from Lars to do the renaming.
> I don't like renaming files because that makes some VCS commands fail
> or work less efficiently, and makes forensics much harder and less
> convenient.
git itself handles history tracking across renames if the first commit
with the new name has the exact same sha1 hash.
This is what "git mv" does, ie.
git mv git-cloud.el git-cloudly.el
git commit -m "Rename git-cloud.el to git-cloudly.el"
gives something that "git log --follow -- gnus-cloudly.el" can use to
list the history across the rename.
Tool support is something else. There used to be
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8756
which was merged with
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19045
and both closed as fixed, however 'C-x v l' doesn't do the right thing
in emacs 25.2.1, history stops at the rename.
Annotate, ie. 'C-x v g' will show changes from across the rename, and
pressing 'd' (to see the diff) and 'l' (to see the log message) on an
annotated line, will show the correct information
- Re: The name gnus-cloud.el, (continued)
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/22
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/22
- Re: The name gnus-cloud.el, Richard Stallman, 2017/12/23
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/23
- Re: The name gnus-cloud.el, Richard Stallman, 2017/12/24
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/25
- Re: The name gnus-cloud.el, Paul Eggert, 2017/12/25
- Re: The name gnus-cloud.el, Richard Stallman, 2017/12/26
- Re: The name gnus-cloud.el, Richard Stallman, 2017/12/24
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/25
- Re: The name gnus-cloud.el,
Steinar Bang <=
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/31
- Re: The name gnus-cloud.el, Óscar Fuentes, 2017/12/31
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/31
- Re: The name gnus-cloud.el, Steinar Bang, 2017/12/31
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/31
- Re: The name gnus-cloud.el, Andreas Schwab, 2017/12/31
- Re: The name gnus-cloud.el, Steinar Bang, 2017/12/31
- Re: The name gnus-cloud.el, Eli Zaretskii, 2017/12/31
- Re: The name gnus-cloud.el, Richard Stallman, 2017/12/18
- Re: The name gnus-cloud.el, John Wiegley, 2017/12/19