All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Thorsten Leemhuis <fedora@leemhuis.info>
Cc: linux-next@vger.kernel.org
Subject: Re: linux-next: Tree for June 22
Date: Tue, 23 Jun 2009 11:48:20 +1000	[thread overview]
Message-ID: <20090623114820.991120dc.sfr@canb.auug.org.au> (raw)
In-Reply-To: <4A3FBE13.9050201@leemhuis.info>

[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]

Hi Thorsten,

On Mon, 22 Jun 2009 19:23:31 +0200 Thorsten Leemhuis <fedora@leemhuis.info> wrote:
>
> On 22.06.2009 10:26, Stephen Rothwell wrote:
> > On Mon, 22 Jun 2009 18:19:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >>
> >> Changes since 20090619:
> > 
> > The current "git diff --stat -M stable..HEAD^" ends like this:
> 
> Side note: above command doesn't work here (Fedora 11, git version 1.6.2.2):
> 
> $ git diff --stat -M 'stable..HEAD^'
> fatal: ambiguous argument 'stable..HEAD^': unknown revision or path not
> in the working tree.
> Use '--' to separate paths from revisions
> 
> This command OTOH...
> $ git diff --stat -M 'origin/stable..origin/HEAD^'
> ...seems to work just fine and gives the result your posted:

That is because the "stable" and "HEAD" refs (branches) are local for me
since linux-next is my tree.  They are remote for you since you fetched
them, so their names are different.

> Is it possible somehow to export the individual patches that are
> currently in linux-next? I tried
> 
>  git format-patch -M -o ../tmp 'origin/stable..origin/HEAD^'
> 
> but that resulted in 3269 files with commits/patches that sum up to
> 38 MByte. Some of those patches (seems 1919 alone from the KVM tree...)
> are quite old. The first one for example is
> 0001-KVM-mmu-add-missing-dirty-page-tracking-cases.patch :

The kvm tree is actually a bit of a pain and I am considering what to do
about it.  The tree I am currently fetching into linux-next contains all
the history of their development (at least back a considerable time).
When they decide to send things to Linus, they seem to rebase a subset of
their current patches onto another branch that is based on Linus' tree
and then ask him to pull that.  So the commits in Linus' tree never have
the same SAH1s as the ones in the linux-next tree and in many cases, they
don't even have the same patch-ids as they have been rebased.

You can extract the commits in each tree by using the SHA1s in the
Next/SHA1s file.  So, for example, in yesterday's tree the SHA1 for the
net tree was 6be832529a8129c9d90a1d3a78c5d503a710b6fc, so the commits are
origin/stable..6be832529a8129c9d90a1d3a78c5d503a710b6fc.  This doesn't
work for the kvm tree (see above).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-06-23  1:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22  8:19 linux-next: Tree for June 22 Stephen Rothwell
2009-06-22  8:26 ` Stephen Rothwell
2009-06-22 17:23   ` Thorsten Leemhuis
2009-06-23  1:48     ` Stephen Rothwell [this message]
2009-06-22 15:51 ` [PATCH -next] hwlat: depends on RING_BUFFER (build fix) Randy Dunlap
2009-06-22 21:14   ` Jon Masters
2009-06-22 16:19 ` linux-next: Tree for June 22 (x86/kvm) Randy Dunlap
2009-06-25  4:01   ` Stephen Rothwell
2009-06-25 11:50     ` Avi Kivity
2010-06-22  6:05 linux-next: Tree for June 22 Stephen Rothwell
2010-06-22  7:53 ` Geert Uytterhoeven
2010-06-22 10:22   ` Stephen Rothwell
2011-06-22  6:36 Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090623114820.991120dc.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=fedora@leemhuis.info \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.