Script rmport shows error message
Rene Ladan
rene at freebsd.org
Mon May 3 11:34:56 UTC 2021
On Mon, May 03, 2021 at 10:37:15AM +0200, Matthias Fechner wrote:
> Am 01.05.2021 um 19:17 schrieb Rene Ladan:
> > It might indeed be because you have a remote it does not expect:
> >
> > if ! ${GIT} diff --exit-code remotes/origin/main ; then
> > ...
> > fi
> >
> > Here I have:
> > % git remote -v
> > origin https://git.freebsd.org/ports.git (fetch)
> > origin git at gitrepo.FreeBSD.org:ports.git (push)
>
> I think this should be fixed in the script, as the documentation here:
> https://docs.freebsd.org/en/articles/committers-guide/
>
> is using the remote alias freebsd and not origin which I think was a
> very decision.
>
> I modified the script now locally (in a tmp folder) and removed the
> obsolete ports.
This sounds like something upstreamable.
> I also saw a problem with the question if I would like to tweak the
> commit message.
> I told there y but it just had not shown me the commit message to modify it.
>
> I had to manually do a:
> git commit --amend
Yes, the flow is somehow broken if you choose yes but I don't see why.
René
More information about the freebsd-git
mailing list