Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578672

Summary: git-2.eclass calls git pull -u
Product: Gentoo Linux Reporter: Stanislav Ch. Nikolov <stanislav>
Component: EclassesAssignee: Donnie Berkholz (RETIRED) <dberkholz>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: floppym
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Git error message
Example ebuild that fails

Description Stanislav Ch. Nikolov 2016-03-31 09:25:08 UTC
Created attachment 429344 [details]
Git error message

git-2.class lines 547 and 554 execute (actually set what should be executed later) 'git pull -f -u' which makes git throw a tantrum. The manual says 'This is purely for the internal use for git pull to communicate with git fetch, and unless you are implementing your own Porcelain you are not supposed to use it'.
Comment 1 Stanislav Ch. Nikolov 2016-03-31 09:27:11 UTC
Created attachment 429346 [details]
Example ebuild that fails
Comment 2 Mike Gilbert gentoo-dev 2016-04-02 22:36:43 UTC
I guess git-pull -u was removed in some recent git version.

git-2.eclass is deprecated anyway, so it might be more worthwhile to move the ebuild to git-r3.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-13 14:38:12 UTC

*** This bug has been marked as a duplicate of bug 576156 ***