Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564638 - dev-vcs/git-2.6.5 pull no longer supports "-u" update command
Summary: dev-vcs/git-2.6.5 pull no longer supports "-u" update command
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-01 16:19 UTC by Steve Arnold
Modified: 2020-12-07 07:32 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2015-11-01 16:19:06 UTC
Is it too old to fix?

 * Package:    xfce-extra/xfce4-soundmenu-plugin-9999
 * Repository: nerdboy-local
 * Maintainer: xfce@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc glyr kernel_linux keybinder lastfm u
serland_GNU
 * FEATURES:   ccache distcc preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
error: unknown switch `u'
usage: git pull [options] [<repository> [<refspec>...]]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --progress            force progress reporting
Comment 1 Steve Arnold archtester gentoo-dev 2015-11-01 21:20:58 UTC
Amazingly, this works at a shell prompt: git fetch -u

So I'm a little puzzled why git-2 barfs with the "-u" error.
Comment 2 Steve Arnold archtester gentoo-dev 2015-11-01 21:23:36 UTC
And I removed "-u" from the two commands in git-2.eclass and the package merges fine.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2015-11-10 14:51:09 UTC
(In reply to Steve Arnold from comment #1)
> Amazingly, this works at a shell prompt: git fetch -u
> 
> So I'm a little puzzled why git-2 barfs with the "-u" error.

The reason is that 'git pull' no longer has the -u flag (bug?) but is still in the man page. dev-vcs/git-2.6.3 tested.

Works on git-2.4.10
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-12-07 07:32:20 UTC
I believe this ticket is obsolete, if the problem persists, please reopen