git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: pulling Already up-to-date linux-2.6 repo takes ~8 minutes?

From
MGMike Galbraith <efault@gmx.de>
Date
Oct 18, 2007, 05:39 UTC
Message-ID
<1192685971.7390.21.camel@Homer.simpson.net>
In-Reply-To
<1192684150.7390.15.camel@Homer.simpson.net>
On Thu, 2007-10-18 at 07:09 +0200, Mike Galbraith wrote:
Show 7 quoted lines
> > I'd suggest making your life a little bit easier.  Consider creating
> > a remote that points to Linus:
> > 
> >   $ git remote add linus git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> >   $ git checkout -b master   ; # or any other branch
> >   $ git config branch.master.remote linus
> >   $ git config branch.master.merge refs/heads/master

Dang. git was happy with everything above except the checkout -b master, so I can't get off the dangling limb I'm on, and onto a solid branch.

root@Homer: git checkout -b master
git checkout: branch master already exists
root@Homer: git branch
* (no branch)
  master
root@Homer: time git pull
remote: Generating pack...
remote: Counting objects: 18672
remote: Done counting 55975 objects.
remote: Result has 48507 objects.
remote: Deltifying 48507 objects...
remote:  100% (48507/48507) done
Indexing 48507 objects...
remote: Total 48507 (delta 38878), reused 44654 (delta 35166)
 100% (48507/48507) done
Resolving 38878 deltas...
 100% (38878/38878) done
3419 objects were added to complete this thin pack.
* refs/remotes/origin/master: fast forward to branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
  old..new: 86a71db..d85714d
You are not currently on a branch; you must explicitly
specify which branch you wish to merge:
  git pull <remote> <branch>

real 8m12.676s user 0m29.621s sys 0m2.763s

Previous: Mike GalbraithNext: Mike Galbraith
Message 4 of 9 in “pulling Already up-to-date linux-2.6 repo takes ~8 minutes?”
  1. Mike GalbraithOct 18, 2007
  2. Shawn O. PearceOct 18, 2007
  3. Mike GalbraithOct 18, 2007
  4. Mike GalbraithOct 18, 2007
  5. Mike GalbraithOct 18, 2007
  6. Shawn O. PearceOct 18, 2007
  7. Mike GalbraithOct 18, 2007
  8. Shawn O. PearceOct 18, 2007
  9. Mike GalbraithOct 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.