[14:28] <apw> TimurTabi, can't you just fetch the ref itself from our crack repo ?
[14:32] <TimurTabi> What do you mean?
[14:33] <TimurTabi> I have this complex script that creates an ubuntu_defconfig for any kernel, and one of the first things it does is download those 5-6 patches that were available up to kernel 5.6
[14:34] <apw> TimurTabi, the readme there tells you how to fetch the literal tip from which the build is made, which has the patches on the top.
[14:34] <TimurTabi> So to avoid rewriting large chunks of that script, I just want to grab those patches.
[14:34] <TimurTabi> I want to build a kernel based on *my* kernel tree, not yours.
[14:34] <apw> and you could then for format-patch off the top of that.
[14:35] <apw> TimurTabi, right you don't have to check it out, just fetch it
[14:35] <TimurTabi> You'll have to show me exactly what you're talking about with a code example.
[14:36] <apw> Taking that as an example: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.12/
[14:36] <apw> it tells you to fetch this: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.11.12
[14:36] <apw> git you `git fetch git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.11.12` in your tree
[14:36] <apw> then FETCH_HEAD will have those commits on it.
[14:37] <TimurTabi> Well, I don't see how that's any better than downloading crack.bundle and using git-bundle on it.
[14:39] <apw> perhaps not, though it feels simpler
[14:40] <apw> as that branch was made from the bundle, and indeed it is that actual branch which gets built on the testers
[14:40] <TimurTabi> Ok, well, I'll make a note of your suggestion, and maybe one day I'll try it out.  It would be nice if I didn't have to make patches from a tree and just so that I have to git-am them and then delete them.
[14:41] <apw> you could just `git cherry-pick <bottom>..<top>` them no ?
[14:41] <apw> like `git cherry-pick FETCH_HEAD~6..FETCH_HEAD`
[14:42] <TimurTabi> Well, the ~6 is variable
[14:42] <TimurTabi> it could be ~7 one day
[14:42] <apw> though you know the base
[14:42] <apw> it is by definition the same as the tip
[14:42] <TimurTabi> v5.11.12..FETCH_HEAD
[14:42] <TimurTabi> ?
[14:42] <apw> right that.
[14:42] <TimurTabi> Ok, I'll think about, thanks.