Re: [PATCH] h8300 move header files

From: Yoshinori Sato
Date: Wed Aug 13 2008 - 16:42:00 EST


At Tue, 12 Aug 2008 13:25:17 -0700 (PDT),
Linus Torvalds wrote:
>
>
>
> On Tue, 12 Aug 2008, Yoshinori Sato wrote:
> >
> > My h8300 repository can't public access.
> > Also difficult pull request.
>
> The nice thing about git is that it doesn't care one whit how something
> gets moved. So you can
>
> - just send me a regular patch (as a git user, it can be the "git
> shorthand" kind of patch that has explicit renames, but it can be a
> traditional patch with delete/create pairs too, and git won't care AT
> ALL because the end result is the same)
>
> - or just send me a shell script to do the renames along with a small
> patch to fix up any other issues that happen as a result of the rename,
> and a explanation for me to use as a commit message.
>
> Renames in git do not have to be handled as "git" events, unlike many
> other broken models. Git will do the right thing regardless.
>
> Linus

OK.
please run this script at toplevel.

-- cut here --
#!/bin/sh
mkdir -p arch/h8300/include/asm
git mv include/asm-h8300/* arch/h8300/include/asm
git commit -m 'move include/asm-h8300 to arch/h8300/include/asm'
-- cut here --

And commit log is
Created commit 2f163b8: move include/asm-h8300 to arch/h8300/include/asm
99 files changed, 0 insertions(+), 0 deletions(-)
rename {include/asm-h8300 => arch/h8300/include/asm}/Kbuild (100%)
(snip)
rename {include/asm-h8300 => arch/h8300/include/asm}/virtconvert.h (100%)

All files rename only.

--
Yoshinori Sato
<ysato@xxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/