lkml.org 
[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] h8300 move header files
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@users.sourceforge.jp>


\
 
 \ /
  Last update: 2008-08-13 22:45    [from the cache]
©2003-2011 Jasper Spaans