From: Linus Torvalds <torvalds@osdl.org>
To: Michal Ludvig <michal@logix.cz>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org, git@vger.kernel.org
Subject: Re: Creating diff from 2.6.16 from cryptodev-2.6 git tree
Date: Thu, 29 Jun 2006 23:20:20 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0606292316070.12404@g5.osdl.org> (raw)
In-Reply-To: <44A4BA6D.5010006@logix.cz>
On Fri, 30 Jun 2006, Michal Ludvig wrote:
>
> Linus Torvalds wrote:
>
> > git log -p --full-diff v2.6.16.. crypto/
>
> Can I somehow get the result in a reverse order, i.e. oldest commits first?
Not that way, no. "git log" generates the data on-the-fly, so a simple
"git log" will always give most recent first.
However, you can do this
git log --pretty=oneline v2.6.16.. crypto/
to generate a list of commits, one per line. Then, reverse that list
("tac" is your friend), and feed it back to "git-diff-tree --stdin
--pretty -p" to get the diffs.
So
git log --pretty=oneline v2.6.16.. crypto/ |
tac |
git-diff-tree --stdin --pretty -p
should do what you want.
Of course, the patches (to other files than the crypt/ subdirectory) may
still clash due to changes that are unrelated to the crypto changes. That
is unavoidable, and you'll just have to fix that up by hand.
Linus
next prev parent reply other threads:[~2006-06-30 6:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 1:18 Creating diff from 2.6.16 from cryptodev-2.6 git tree Michal Ludvig
2006-06-30 1:36 ` Herbert Xu
2006-06-30 2:25 ` Linus Torvalds
2006-06-30 2:32 ` Herbert Xu
2006-06-30 2:44 ` Linus Torvalds
2006-06-30 3:05 ` Michal Ludvig
2006-06-30 5:45 ` Michal Ludvig
2006-06-30 6:20 ` Linus Torvalds [this message]
2006-06-30 6:28 ` Junio C Hamano
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=Pine.LNX.4.64.0606292316070.12404@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=git@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=michal@logix.cz \
/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 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).