Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130206 - git-1.2.6 error when executing "git-pull" without arguments
Summary: git-1.2.6 error when executing "git-pull" without arguments
Status: RESOLVED DUPLICATE of bug 125636
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-16 17:53 UTC by John Reed Riley
Modified: 2006-04-17 00:51 UTC (History)
0 users

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 John Reed Riley 2006-04-16 17:53:06 UTC
dev-util/git-1.2.6  USE="X doc -curl -gitsendemail -mozsha1 -webdav"

When I execute "git-pull" without any arguments in a git repository, I get the following error:

~/projects/git/gitcompletion $ git-pull
Fetching refs/heads/master from http://www.hawaga.org.uk/gitcompletion.git using http
/usr/bin/git-fetch: line 274: git-http-fetch: command not found

When I execute "git-pull .", it works as expected:

~/projects/git/gitcompletion $ git-pull .
Already up-to-date.

This is probably an upstream bug, but I thought I'd report it here just in case.

I'm fairly sure this is a result of me building git without the curl use-flag.
Comment 1 John Reed Riley 2006-04-16 17:59:06 UTC
I just reinstalled dev-util/git-1.2.6 using the curl use flag.

I can confirm that this fixes the problem described, and that I'm not all that good with git syntax.  ("git-pull ." doesn't do at all the same thing as "git-pull")
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 00:38:37 UTC

*** This bug has been marked as a duplicate of 125636 ***
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2006-04-17 00:51:18 UTC
Also you should not be using 'git-cmd' but using 'git cmd', since git- commands may disappear from PATH in the not so far future.

'git pull' means 'fetch all branches defined in .git/remotes/origin and merge them into the current repository'.

'git pull .' means 'fetch all branches from current repository into the current repository' which does not really make any sense to me, since it will always say 'Already up-to-date.'.

Note that 'git pull . foo' makes a lot of sense. It is the standard way of merging the local branch 'foo' into the current HEAD.

HTH.

- ferdy