svn primer translation to git

Dimitry Andric dim at FreeBSD.org
Fri Jun 26 13:29:41 UTC 2020


On 26 Jun 2020, at 12:45, Mathieu Arnold <mat at FreeBSD.org> wrote:
> 
> On Thu, Jun 25, 2020 at 02:10:59PM -0400, Dan Langille wrote:
>>> On Jun 25, 2020, at 2:06 PM, Brooks Davis <brooks at freebsd.org> wrote:
>>> 
>>> There's a time and place for many foot cannons, but there's no need to
>>> even mention them in our documentation unless it's completely essential.
>>> People can explore the infinite vastness of git options on their own.
>> 
>> There ^
>> 
>> Limit the primer to the usual work flow that committer should follow.
>> 
>> Put unusual workflows to other documentation.
>> 
>> Show me how to get the ports tree, make a change, check it in.
>> 
>> Cover common things we used to do, and how to do them now.
>> 
>> For example svn cp, when moving something in the ports tree
>> (say from one category to another).  What do we do with git?
> 
> That is something we need to decide.
> 
> git does not track copies and moves, it only tries to figure it out
> after the fact.
> 

Indeed, and it can also show it in the UI, for example this commit by
jkim:

https://cgit-beta.freebsd.org/src/commit/?id=135e722187e762111e66b94cb159a4daabb9bd4c

It doesn't "see" that README was renamed to README.md and subsequently
modified, but it does follow the renames of a bunch of source files from
contrib/flex/ to contrib/flex/src/.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20200626/263d9618/attachment.sig>


More information about the freebsd-git mailing list