Re: [PATCH 1/2] Group architecture Documentation under Documentation/arch.

david
2007-08-04T19:37:30Z

On Sat, 4 Aug 2007, Rob Landley wrote:

> On Saturday 04 August 2007 2:03:59 pm Rob Landley wrote:
>> Signed-off-by: Rob Landley <rob@landley.net>
>> Amiga part Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
>>
>> Move architecture-specific Documentation into a common subdirectory.
>
> I really, really, really hate git.
>
> Ok, on my laptop I just noticed that "git apply" of the patch didn't complain
> but it also left the empty subdirectories it moved stuff out of. (I don't
> believe this happened on the version of git I was using on my previous
> laptop, which ate itself a month and change ago, but obviously I can't
> check.)
>
> There is no "git rmdir". "git rm" refuses to delete the directory
> without -r. "git rm -r Documentation/x86_64" listed (as just deleted) all
> the files that the patch already moved out of the directory.
>
> Am I missing something obvious here?

no, git doesn't track directories, it tracks files in directories. there
was just an extensive discussion on the git mailing list about this.

I beleive that doing a checkout will clear out those directories, or you
can just rm -r them. after you empty them out.

David Lang