Script rmport shows error message
Matthias Fechner
mfechner at freebsd.org
Mon May 3 08:37:17 UTC 2021
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.
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
Gruß
Matthias
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
More information about the freebsd-git
mailing list