Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886452 - sys-apps/portage: sync-git-pull-extra-opts is no longer usable
Summary: sys-apps/portage: sync-git-pull-extra-opts is no longer usable
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2022-12-17 06:36 UTC by konsolebox
Modified: 2022-12-17 06:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description konsolebox 2022-12-17 06:36:59 UTC
Commit in question is

It changed syncing method for git from pull to fetch+merge making sync-git-pull-extra-opts unusable since options like --rebase or --ff-only aren't recognizable by either fetch or merge or both.  `sudo -u portage git config --global merge.ff only` might help as an alternative to --ff-only but not with rebase.  --ff-only is actually just an example and is useless in my case.

I suggest if this method isn't going to change, just drop the sync-git-pull-extra-opts option and probably add sync-git-fetch-extra-opts and sync-git-merge-extra-opts, even just for the sake of consistency.

Maybe also allow something like sync-git-merge-method = rebase and add sync-git-rebase-extra-opts option so git-rebase is used instead of merge, but that's another feature request to make.  But first drop sync-git-pull-extra-opts so people stops trying to rely on it.