On Sunday 2010-02-07 19:06, 0bo0 wrote:
Reading Git docs/howtos, I note: "With Git it is not possible to pull only a single directory, because of the hash code nature of Git, you must take all or nothing."
Well, the hash code nature actually allows a party to download single bits. The top commit, root dir listing, fs/ listing, btrfs/ listing and btrfs files amount to about ~60 objects only (out of the 2 million that the entire history is approaching). It just so is that this ultrasparse/shallow download mode is not attainable using typical command lines currently. There is only clone --depth=1 for now; I guess this is because many of the git subcommands expect to work with a commit that has a complete filetree attached at least, but I see no reason why it should not be possible to download few objects without the intention to create a .git/ control dir afterwards.
, so I guess I'm stuck with pulling the whole non-opensuse kernel tree, and either patching it with opensuse's patches etc, or extracting all (?) the btrfs-unstable bits, and swapping them into the opensuse kernel sources.
You make a diff between kernel_a:fs/btrfs/ and btrfs_clone:fs/btrfs/, and apply that on top of the suse one. And *praying* that the new code does not rely on an incompatible change of a struct foo that the rest of the old kernel depends on at the same time! -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org