From owner-freebsd-current@freebsd.org Sun Mar 14 20:36:10 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B2385B1A85 for ; Sun, 14 Mar 2021 20:36:10 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DzBCY3PBVz4jNX; Sun, 14 Mar 2021 20:36:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4DzBCV5tWjz6dh2; Sun, 14 Mar 2021 21:36:06 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id y3sbZFotIj9t; Sun, 14 Mar 2021 21:36:04 +0100 (CET) Subject: Re: Is there any OS builtin git command like svnlite ? To: Kurt Jaeger , KIRIYAMA Kazuhiko Cc: freebsd-current@freebsd.org References: <202103141938.12EJclDN004900@kx.truefc.org> From: Guido Falsi Message-ID: Date: Sun, 14 Mar 2021 21:36:03 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DzBCY3PBVz4jNX X-Spamd-Bar: / X-Spamd-Result: default: False [-0.90 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.1.99:from]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MISSING_MIME_VERSION(2.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[159.69.1.99:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; NEURAL_HAM_SHORT(-0.90)[-0.900]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2021 20:36:10 -0000 On 14/03/21 21:09, Kurt Jaeger wrote: > Hi! > >> I'm working on clean installed VM -current from NFS >> mounted src like : >> >> admin@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@tbedfc:~ % >> >> But could not display revison by uname : >> >> admin@tbedfc:~ % uname -a >> FreeBSD tbedfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Fri Mar 12 18:16:41 JST 2021 root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 >> admin@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@lite looks good, if one only wants basic functionality there is also git@tiny, but I don't know what limitations that entails. -- Guido Falsi