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

From: david
Date: Sat Aug 04 2007 - 15:37:31 EST


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@xxxxxxxxxxx>
Amiga part Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

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
-
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/