| Summary: | git-2.eclass: git pull: error: unknown switch `u' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex D. <balthazar.ad> |
| Component: | Eclasses | Assignee: | Donnie Berkholz (RETIRED) <dberkholz> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | output of `emerge -d =dev-util/monodevelop-9999` command | ||
Had the same problem with a morituri-9999 ebuild. Thanks for the fix. *** This bug has been marked as a duplicate of bug 576156 *** |
Created attachment 428680 [details] output of `emerge -d =dev-util/monodevelop-9999` command It seems that incorrect command line switch is used while trying to emerge dev-util/monodevelop-9999. I've resolved this problem by applying this simple modification: i7-970 eclass # diff -ru git-2.eclass git-2.eclass.new --- git-2.eclass 2016-03-20 23:44:22.119115641 +0300 +++ git-2.eclass.new 2016-03-20 23:52:45.398766102 +0300 @@ -551,7 +551,7 @@ debug-print "${FUNCNAME}: working in bare repository for non-bare \"${EGIT_DIR}\"" MOVE_COMMAND="cp -pPR ." EGIT_LOCAL_OPTIONS="${EGIT_OPTIONS}" - EGIT_UPDATE_CMD="git pull -f -u ${EGIT_OPTIONS}" + EGIT_UPDATE_CMD="git pull -f ${EGIT_OPTIONS}" UPSTREAM_BRANCH="origin/${EGIT_BRANCH}" EGIT_LOCAL_NONBARE="true" fi i7-970 eclass # P.S. dev-util/monodevelop-9999 is a part of "dotnet" overlay added via Layman,