From: Jeff Garzik <jeff@garzik.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [git patch] add and use include/linux/magic.h
Date: Sun, 24 Sep 2006 20:28:07 -0400 [thread overview]
Message-ID: <45172297.6070108@garzik.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0609241005290.4388@g5.osdl.org>
[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]
Linus Torvalds wrote:
>
> On Sun, 24 Sep 2006, Jeff Garzik wrote:
>> Along the lines of linux/poison.h, do a similar thing with filesystem
>> superblock (and later perhaps, other) magic numbers. This permits
>> us to delete several headers which -only- included the superblock
>> magic number, and it integrates well with dwmw2's header_check /
>> header_install stuff.
>
> Ok, I'm a little worried that somebody might want its own magic number,
> but not have its namespace poisoned by other peoples magic numbers (think
> some user-level program like "e2fsck"), but I guess it's unlikely to be a
> real problem.
Yeah, especially given that the namespace has separate prefixed for
separate filesystems.
> One more thing: your "please pull" looks fine, but if you were to also add
> the "--summary" argument to the diffstat generation, I'd have seen:
>
>> Please pull from 'magic' branch of
>> master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git magic
>>
>> to receive the following updates:
>>
>> fs/affs/affs.h | 1 -
>> fs/affs/super.c | 1 +
>> ....
>> include/linux/smb.h | 3 +--
>> include/linux/usbdevice_fs.h | 3 +--
>> 30 files changed, 67 insertions(+), 85 deletions(-)
>
> followed by:
>
> delete mode 100644 include/linux/affs_fs.h
> delete mode 100644 include/linux/hpfs_fs.h
> create mode 100644 include/linux/magic.h
> delete mode 100644 include/linux/openprom_fs.h
>
> which is nice. You see which files actually disappear or appear (or are
> renamed). Ok?
Right now I just pipe 'git diff master..branch' to diffstat.
I've attached the script I use, it's pretty basic.
Since I'm using the normal diffstat, "just add --summary" won't work.
What is the full command line you were looking for?
Jeff
[-- Attachment #2: mkmsg --]
[-- Type: text/plain, Size: 493 bytes --]
#!/bin/sh
BRANCH="$1"
TEXT_OUT="$2"
PWD=`pwd`
REPO=`basename $PWD`
echo "Please pull from '$BRANCH' branch of" > $TEXT_OUT
echo "master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/$REPO.git $BRANCH" \
>> $TEXT_OUT
echo "" >> $TEXT_OUT
echo "to receive the following updates:" >> $TEXT_OUT
echo "" >> $TEXT_OUT
git diff master..$BRANCH | diffstat -p1 >> $TEXT_OUT
echo "" >> $TEXT_OUT
git log --no-merges master..$BRANCH | git shortlog >> $TEXT_OUT
git diff master..$BRANCH >> $TEXT_OUT
next prev parent reply other threads:[~2006-09-25 0:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-24 16:18 [git patch] add and use include/linux/magic.h Jeff Garzik
2006-09-24 17:08 ` Linus Torvalds
2006-09-25 0:28 ` Jeff Garzik [this message]
2006-09-25 0:34 ` Linus Torvalds
2006-09-25 1:14 ` git diff <-> diffstat Adrian Bunk
2006-09-25 2:05 ` Linus Torvalds
2006-09-25 2:22 ` Adrian Bunk
2006-09-25 2:55 ` Linus Torvalds
2006-09-25 6:17 ` Jan Engelhardt
2006-09-26 22:04 ` Junio C Hamano
2006-09-25 2:18 ` 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=45172297.6070108@garzik.org \
--to=jeff@garzik.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@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 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.