Thread (5 messages) 5 messages, 3 authors, 2005-05-15

Re: git repository for net drivers available

From: Jeff Garzik <hidden>
Date: 2005-05-13 15:29:41
Also in: lkml

James Ketrenos wrote:
Jeff Garzik wrote:

quoted
This includes the wireless-2.6 repository.

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git

The main branch is fairly irrelevant, as you must choose the branch
you wish:

quoted
[jgarzik@pretzel netdev-2.6]$ ls .git/branches/
8139cp         e1000        ixgb     r8169            skge          
we18
8139too-iomap  forcedeth    janitor  register-netdev  smc91x        
wifi
amd8111        ieee80211    orinoco  remove-drivers   smc91x-eeprom
e100           iff-running  ppp      sis900           starfire
Ok, I'll bite.  Hopefully I'm not the only one tripping on shoe laces...

Here is what I did -- what am I doing wrong?

Following is using cogito 0.10:

REPO=rsync://rsync.kernel.org/pubs/scm/linux/kernel/git/jgarzik/netdev-2.6.git
cg-clone ${REPO}
.... get coffee, etc. ... come back and I have a netdev-2.6 tree ...
cg-branch-add wifi ${REPO}#wifi
cg-update wifi
.... connects and attempts to download but fails out with:

----------------
receiving file list ... done
client: nothing to do: perhaps you need to specify some filenames or the
--recursive option?

rsync: link_stat
"/scm/linux/kernel/git/jgarzik/netdev-2.6.git/heads/wifi" (in pub)
failed: No such file or directory (2)
Looks like cogito is using $repo/heads/$branch, whereas my git repo is 
using $repo/branches/$branch.

You can achieve what's necessary with
rsync --verbose --delete --stats --progress \
-a rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git/ .git
and then
( cd .git ; rm -f HEAD ; ln -s branches/wifi HEAD )
and then
git-read-tree $(cat .git/HEAD) && git-checkout-cache -q -f -a && git-update-cache --refresh


For what it's worth, this is only netdev-2.6 as it appeared in 
BitKeeper.  I am only now merging all the emailed patches since BK devel 
stopped into git, which includes the ipw code you submitted.

	Jeff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help