git: 73c14cc76b5f - main - Remove history.immutable from .arcconfig
Warner Losh
imp at bsdimp.com
Tue Apr 13 19:53:19 UTC 2021
On Tue, Apr 13, 2021 at 9:23 AM John Baldwin <jhb at freebsd.org> wrote:
> 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.
>
I'd honestly rather have 'git arc create' stamp this in from the git go.
I really dislike having it not there until just before I go to commit.
Warner
More information about the dev-commits-src-main
mailing list