GNU bug report logs -
#52420
admin/release-branch.txt: move NEWS in single commit
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Sat, 11 Dec 2021 01:31:02 UTC
Severity: wishlist
Tags: patch
Fixed in version 29.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sat, 11 Dec 2021 01:30:01 +0000
>
> In admin/release-branch.txt, step 4 says:
>
> Set the version on the master branch to the next major release:
>
> M-x set-version RET XY+1.0.50 RET
>
> This creates a new file etc/NEWS.XY. "git add" it.
>
> I think the instructions should be changed so that the NEWS file is
> moved like this:
>
> git mv etc/NEWS etc/NEWS.NN
>
> And then committed in a single commit. This way, git will be able to
> track it as a rename and we preserve the ability to use git blame, etc.
>
> I'm not sure if any changes will have to be made to set-version in
> admin/admin.el.
I think we should modify admin.el to use "git mv" and commit that
(after prompting), instead of calling rename-file etc. that it does
today. IOW, there should be no need to do the above manually.
This bug report was last modified 3 years and 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.