From: Dave Kleikamp <shaggy@austin.ibm.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>,
ext4 development <linux-ext4@vger.kernel.org>
Subject: Re: Updated ext4/jbd2 patches based on 2.6.19-rc1
Date: Fri, 06 Oct 2006 07:50:32 -0500 [thread overview]
Message-ID: <1160139032.8658.17.camel@kleikamp.austin.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0610051619540.3952@g5.osdl.org>
On Thu, 2006-10-05 at 16:25 -0700, Linus Torvalds wrote:
>
> On Thu, 5 Oct 2006, Andrew Morton wrote:
> >
> > Linus, what's the best way of doing this? Will git dtrt with a patch which
> > copies files, or would a script which does the mkdir's and cp's be better?
>
> Git should dtrt.
>
> In fact, if you use
>
> git diff -C
>
> it should generate the appropriate "file copied" things automatically, and
> you don't need any huge file at all, you'll get a "patch" that looks
> something like
>
> diff --git a/fs/ext3/inode.c b/fs/ext4/inode.c
> similarity index 100%
> copy from fs/ext3/inode.c
> copy to fs/ext4/inode.c
> diff --git a/fs/ext3/super.c b/fs/ext4/super.c
> similarity index 98%
> copy from fs/ext3/super.c
> copy to fs/ext4/super.c
> index xyz..zzy 100644
> --- a/fs/ext3/super.c
> +++ b/fs/ext4/super.c
> .. small diff that changes "ext3" to "ext4" goes here ..
>
>
> ie you'll effectively get the best of both worlds: a "diff", but one that
> is actually readable and shows what is going on.
We haven't been using git to manage ext4 so far, although in hindsight
it probably would have made things easier. I'm assuming that you're
just suggesting this for educational purposes and that git will handle
the patches that Andrew picked up into -mm just fine.
I could re-generate the patches that do the copies from git, but I don't
believe it will be that beneficial at this point.
> I hate to beat my own drum (not really), but git really _is_ a lot better
> than anything else out there ;)
No argument here :-)
Shaggy
--
David Kleikamp
IBM Linux Technology Center
next prev parent reply other threads:[~2006-10-06 12:50 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 18:23 Updated ext4/jbd2 patches based on 2.6.19-rc1 Dave Kleikamp
2006-10-05 20:19 ` Andrew Morton
2006-10-05 23:25 ` Linus Torvalds
2006-10-06 12:50 ` Dave Kleikamp [this message]
2006-10-06 16:11 ` Linus Torvalds
2006-10-05 21:59 ` Andrew Morton
2006-10-06 0:39 ` Andrew Morton
2006-10-10 6:29 ` Andrew Morton
2006-10-10 7:54 ` Suparna Bhattacharya
2006-10-10 8:14 ` Andrew Morton
2006-10-10 20:02 ` [RFC] [PATCH] Documentation/filesystems/ext4.txt Dave Kleikamp
2006-10-10 20:56 ` Andrew Morton
2006-10-11 17:03 ` Andreas Dilger
2006-10-12 14:18 ` Valerie Clement
2006-10-06 3:55 ` Updated ext4/jbd2 patches based on 2.6.19-rc1 Andrew Morton
2006-10-06 3:58 ` Andrew Morton
2006-10-06 10:34 ` Alex Tomas
2006-10-06 4:54 ` Randy Dunlap
2006-10-06 5:05 ` Andrew Morton
2006-10-06 5:53 ` Andreas Dilger
2006-10-06 6:04 ` Andrew Morton
2006-10-06 6:41 ` Andreas Dilger
2006-10-06 6:50 ` Andrew Morton
2006-10-06 10:31 ` Alex Tomas
2006-10-06 13:57 ` Andrew Morton
2006-10-07 20:09 ` alex
2006-10-06 6:52 ` Suparna Bhattacharya
2006-10-06 12:21 ` Theodore Tso
2006-10-06 21:10 ` [PATCH] Get rid of extents mount option Dave Kleikamp
2006-10-06 21:21 ` [PATCH] Get rid of extents mount option - try 2 Dave Kleikamp
2006-10-06 22:32 ` Andrew Morton
2006-10-06 23:20 ` Dave Kleikamp
2006-10-07 4:14 ` Theodore Tso
2006-10-07 15:53 ` Dave Kleikamp
2006-10-07 17:20 ` Theodore Tso
2006-10-07 19:45 ` Alex Tomas
2006-10-07 19:57 ` Andrew Morton
2006-10-10 18:48 ` Dave Kleikamp
2006-10-10 21:07 ` Theodore Tso
2006-10-10 21:18 ` Andrew Morton
2006-10-11 17:16 ` Andreas Dilger
2006-10-06 4:31 ` Updated ext4/jbd2 patches based on 2.6.19-rc1 Andrew Morton
2006-10-06 5:58 ` Andreas Dilger
2006-10-06 6:10 ` Andrew Morton
2006-10-06 6:48 ` Andreas Dilger
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=1160139032.8658.17.camel@kleikamp.austin.ibm.com \
--to=shaggy@austin.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-ext4@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox