git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* possible bug in git apply?
@ 2007-08-04 19:45 david
  2007-08-04 20:00 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: david @ 2007-08-04 19:45 UTC (permalink / raw)
  To: git; +Cc: rob

since git doesn't track directories, only content (per the big discussion 
recently) I beleive that doing a checkout would leave Rob without the 
directories that he emptied out, so shouldn't git apply also clear the 
directories to end up in the same state?

David Lang

---------- Forwarded message ----------
Date: Sat, 4 Aug 2007 15:19:54 -0400
From: Rob Landley <rob@landley.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roland Dreier <rdreier@cisco.com>,
     Linux Kernel <linux-kernel@vger.kernel.org>, linux-doc@vger.kernel.org,
     Andrew Morton <akpm@linux-foundation.org>, Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH 1/2] Group architecture Documentation under
     Documentation/arch.

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?

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
   - Ken Thompson.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-08-06  9:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 19:45 possible bug in git apply? david
2007-08-04 20:00 ` Junio C Hamano
2007-08-04 20:08 ` David Kastrup
2007-08-05  4:48 ` Linus Torvalds
2007-08-05  4:53   ` Linus Torvalds
2007-08-05  5:11   ` Junio C Hamano
2007-08-05  7:55     ` David Kastrup
2007-08-05 16:59     ` Linus Torvalds
2007-08-05 17:53       ` David Kastrup
2007-08-05 18:18         ` Linus Torvalds
2007-08-05 18:50           ` David Kastrup
2007-08-05 19:20             ` Linus Torvalds
2007-08-05 19:37               ` David Kastrup
2007-08-06  8:29       ` Junio C Hamano
2007-08-06  9:37         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).