From owner-freebsd-current@freebsd.org Sun Mar 14 20:09:53 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 DDB4A5B0E41 for ; Sun, 14 Mar 2021 20:09:53 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 4Dz9dF4jPLz4gh6 for ; Sun, 14 Mar 2021 20:09:53 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lLX3V-000G1C-5c; Sun, 14 Mar 2021 21:09:41 +0100 Date: Sun, 14 Mar 2021 21:09:41 +0100 From: Kurt Jaeger To: KIRIYAMA Kazuhiko Cc: freebsd-current@freebsd.org Subject: Re: Is there any OS builtin git command like svnlite ? Message-ID: References: <202103141938.12EJclDN004900@kx.truefc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103141938.12EJclDN004900@kx.truefc.org> X-Rspamd-Queue-Id: 4Dz9dF4jPLz4gh6 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] 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:09:53 -0000 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 pkg install gitup -- pi@opsec.eu +49 171 3101372 Now what ?