Git development
 help / color / mirror / Atom feed
From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org, junkio@cox.net
Subject: Re: [PATCH] Extend testing git-mv for renaming of subdirectories
Date: Wed, 26 Jul 2006 18:02:33 +0200	[thread overview]
Message-ID: <200607261802.33757.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <Pine.LNX.4.63.0607261721460.29667@wbgn013.biozentrum.uni-wuerzburg.de>

On Wednesday 26 July 2006 17:22, Johannes Schindelin wrote:
> > Hmm... Renaming full subtrees worked since the old git-rename days.
> > I just checked it, and it works fine.
> 
> Thanks.
> 
> And thanks again: since there is a test now, I'll have to implement that 
> feature, too, I guess ;-)

Sorry about that, but that was the reason for this patch ;-)
I think it would be too bad for users to have this as regression.

When I first looked at the git-rename script, it wasn't clear to me
that moving dirs actually works. The thing is that PERL's "rename"
can move subdirectories. And on the git side, it does a grep with the
dir name against the list of tracked files, so we catch all tracked
files in the subdirectory.

Josef

      reply	other threads:[~2006-07-26 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-26  1:52 [PATCH] Make git-mv a builtin Johannes Schindelin
2006-07-26  5:47 ` Junio C Hamano
2006-07-26 10:19   ` Johannes Schindelin
2006-07-26 13:44 ` [PATCH] Extend testing git-mv for renaming of subdirectories Josef Weidendorfer
2006-07-26 15:22   ` Johannes Schindelin
2006-07-26 16:02     ` Josef Weidendorfer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607261802.33757.Josef.Weidendorfer@gmx.de \
    --to=josef.weidendorfer@gmx.de \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox