'make prep' breaks on private branches.

Todd Zullinger tmz at pobox.com
Thu Aug 19 18:37:47 UTC 2010


Roland McGrath wrote:
>> Here is what I'm doing:
>>
>> fedpkg clone kernel
>> fedpkg switch-branch f14
>> git checkout -b pnfs-all-2.6.35-2010-08-05
>
> Make that 'git checkout --track -b pnfs-blah-blah origin/f14/master'.
> Or, equivalently, after the fact, do:
> 	git config branch.pnfs-blah-blah.remote origin
> 	git config branch.pnfs-blah-blah.merge refs/heads/f14/master

FWIW, since git-1.7.0, you can do this directly with git branch:

git branch --set-upstream pnfs-all-2.6.35-2010-08-05 origin/f14/master

So if you've left off the --track (-t) option to checkout, you don't
have to bother setting the config entries manually.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
He may look like an idiot and talk like an idiot but don't let that
fool you. He really is an idiot.
    -- Groucho Marx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100819/f672ff51/attachment.bin 


More information about the devel mailing list