Ports Repocopies

Mathieu Arnold mat at freebsd.org
Thu Apr 1 12:17:52 UTC 2021


On Thu, Apr 01, 2021 at 12:39:46PM +0200, Lars Liedtke wrote:
> 
> >  If you are talking about doing a svn copy/move to record the ancestry of
> 
> I believe this is not true. Maybe git does it differently than svn, I
> don't know that; but git does record moves and copies, whilst copies are
> like new files for  and moves are deletion and addition, git as far as I
> know. This this might not be explicit but implicit.

Git does not record moves or copies.

What git does, when running diff or status (or other commands using
those in the background), and when you ask it to, is look around see if
maybe, a new file looks like a file being removed (-M), or an existing
one (-C). Sometime it gets it right, but most of the time it does not.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20210401/81ce13ef/attachment.sig>


More information about the freebsd-git mailing list