* Experimental git repositories available for SATA
@ 2005-05-12 20:56 Jeff Garzik
2005-05-12 23:01 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2005-05-12 20:56 UTC (permalink / raw)
To: Linux Kernel, linux-ide@vger.kernel.org; +Cc: Andrew Morton, Linus Torvalds
[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]
I have finally gotten around to getting 2.6.x libata development moved
over from BitKeeper to git.
The "for Linus/Andrew" repository is libata-2.6.git, available at
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-2.6.git/
The new libata-dev repository is libata-dev.git, available at
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git/
A word about these repositories. I don't use any SCM besides git
itself. libata-2.6.git appears as you would expect: .git/HEAD points
to refs/heads/master, which is the top-of-tree, and contains patches
destined for upstream ASAP.
libata-dev.git is a bit different, as it contains multiple branches:
> [jgarzik@pretzel libata-dev]$ ls .git/refs/heads/
> adma atapi-enable iomap pdc2027x
> adma-mwi bridge-detect iomap-step1 pdc20619
> ahci-atapi chs-support master promise-sata-pata
> ahci-msi ioctl-get-identity passthru sil24
I use the attached 'git-switch-tree' script to update the working
directory to reflect the desired branch.
As soon as I am comfortable with git merging, I will create an 'ALL'
branch, which contains all of these trees, merged together properly.
Jeff
[-- Attachment #2: git-switch-tree --]
[-- Type: text/plain, Size: 237 bytes --]
#!/bin/sh
if [ "x$1" != "x" ]
then
if [ ! -f .git/refs/heads/$1 ]
then
echo Branch $1 not found.
exit 1
fi
( cd .git && rm -f HEAD && ln -s refs/heads/$1 HEAD )
fi
git-read-tree $(cat .git/HEAD) && git-checkout-cache -q -f -a
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-12 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 20:56 Experimental git repositories available for SATA Jeff Garzik
2005-05-12 23:01 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).