Preferred way of repocopy in terms of git

Mathieu Arnold mat at freebsd.org
Mon May 10 07:30:59 UTC 2021


On Fri, May 07, 2021 at 11:32:48PM +0600, Muhammad Moinur Rahman wrote:
> Hi,
> 
> What is the preferred way of doing ports repocopy in git? In the hard way I can see moving it into two locations and merging them. But is there any easier way of doing it?

Well, here is what I did when I added lang/perl5.34:

cp -R lang/perl5-devel lang/perl5.34
# change stuff
git add lang/perl5.34
git commit

I don't really see any other way to do this, Git has absolutely no clue
about copies or moves.

-- 
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-ports/attachments/20210510/a656e35c/attachment.sig>


More information about the freebsd-ports mailing list