Is there any OS builtin git command like svnlite ?

Guido Falsi mad at madpilot.net
Sun Mar 14 20:36:10 UTC 2021


On 14/03/21 21:09, Kurt Jaeger wrote:
> Hi!
> 
>> I'm working on clean installed VM -current from NFS
>> mounted src like :
>>
>> admin at tbedfc:~ % df -h
>> Filesystem                                          Size    Used   Avail Capacity  Mounted on
>> /dev/vtbd0p2                                         11G    4.1G    5.7G    42%    /
>> devfs                                               1.0K    1.0K      0B   100%    /dev
>> vm.tfc:/.dake                                        12T    843G     11T     7%    /.dake
>> vm.tfc:/ds/src/freebsd/current/14.0/913e7dc3e0eb     11T     55G     11T     0%    /usr/src
>> vm.tfc:/ds/obj/freebsd/current/14.0/913e7dc3e0eb     11T    322G     11T     3%    /usr/obj
>> admin at tbedfc:~ %
>>
>> But could not display revison by uname :
>>
>> admin at tbedfc:~ % uname -a
>> FreeBSD tbedfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Fri Mar 12 18:16:41 JST 2021     root at tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
>> admin at tbedfc:~ %
>>
>> I think this is because incapable of using git command with
>> `git -C $SRCDIR rev-parse --verify --short HEAD'. In the
>> first place, git command does not builtin src like svnlite.
>> Is there any solution of this ?
> 
> Not yet. There are ports that you can install with 'pkg install':
> 
> pkg install git

The git port has flavors. The full port can be excessive, git at lite looks 
good, if one only wants basic functionality there is also git at tiny, but 
I don't know what limitations that entails.


-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-current mailing list