Messages in this thread | | | Date | Sat, 4 Aug 2007 12:34:53 -0700 (PDT) | From | david@lang ... | Subject | Re: [PATCH 1/2] Group architecture Documentation under Documentation/arch. |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |