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

Did I miss something? git-clone doesn't grab all branches????

From
TTTimur Tabi <timur@freescale.com>
Date
Mar 30, 2007, 15:57 UTC
Message-ID
<460D336E.9040708@freescale.com>
I used to be able to do this:

git-clone http://ftp.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git cd powerpc git-checkout for-2.6.22

But that doesn't work any more.  Why not?  It was working perfectly fine before.
So someone told me I need to do this:

git-clone http://ftp.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git cd powerpc git-fetch http://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git for-2.6.22:for-2.6.22 git-checkout for-2.6.22

Ok, fine, but now when I do git-pull, I get this:
[snip]
* refs/remotes/origin/merge: fast forward to branch 'merge' of 
http://ftp.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
   old..new: e0f2e3a..190a440
Warning: No merge candidate found because value of config option
          "branch.for-2.6.22.merge" does not match any remote branch fetched.
No changes.
What does the warning mean?  And why is it so difficult to clone branches now?
-- 
Timur Tabi
Linux Kernel Developer @ Freescale
Next: Loeliger Jon-LOELIGER
Message 1 of 4 in “Did I miss something? git-clone doesn't grab all branches????”
  1. Timur TabiMar 30, 2007
  2. Loeliger Jon-LOELIGERMar 30, 2007
  3. Timur TabiMar 30, 2007
  4. Junio C HamanoMar 31, 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.