git: 73c14cc76b5f - main - Remove history.immutable from .arcconfig
John Baldwin
jhb at FreeBSD.org
Tue Apr 13 15:23:52 UTC 2021
On 4/13/21 4:38 AM, Alex Richardson wrote:
> The branch main has been updated by arichardson:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=73c14cc76b5f815c6b1bd93089ebafdd9269d343
>
> commit 73c14cc76b5f815c6b1bd93089ebafdd9269d343
> Author: Alex Richardson <arichardson at FreeBSD.org>
> AuthorDate: 2021-04-13 11:36:24 +0000
> Commit: Alex Richardson <arichardson at FreeBSD.org>
> CommitDate: 2021-04-13 11:36:25 +0000
>
> Remove history.immutable from .arcconfig
>
> The `history.immutable` setting prevents arcanist from updating
> the commit messages with the Differential URL and therefore
> makes updating patches awkward with a rebase workflow.
>
> In case this new behaviour is not wanted the old one can be restored
> by running `arc set-config --local history.immutable true`.
>
> Test Plan: `arc diff --create HEAD^` adds the metadata now.
>
> Reviewed By: #phabric-admin, imp, lwhsu
> Differential Revision: https://reviews.freebsd.org/D27971
FYI, this might break git arc since arc will now start rewriting commits
rather than leaving them alone. If so, we can look use 'arc diff'
with --head to turn off some of its magic. It would also avoid having
'git arc' have to adjust the working copy.
--
John Baldwin
More information about the dev-commits-src-main
mailing list