Re: bisect / history preserving on rename + update
On 2007-08-14 12:16:40 +0200, Thomas Gleixner wrote:
Show 14 quoted lines
> On Tue, 2007-08-14 at 11:33 +0200, Karl Hasselström wrote:
>
> > What exactly do you mean by "lost history of B"? You do know that
> > git doesn't record renames? So you could just as well do
>
> Err.
>
> git-mv A B
> git commit
> edit B
> git commit
> git blame B <- shows the full history of A & B
>
> IMHO that's why we have git-mv
Try replacing
$ git-mv A B
with
$ mv A B
$ git rm A
$ git add B
The result is exactly the same. git-mv is just a convenience.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle