Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2025 10:36:01 +0200
From:      Olivier Certner <olce@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        freebsd-git@freebsd.org
Subject:   Re: got(1) in base consideration
Message-ID:  <2029663.vslOlgHxSZ@ravel>
In-Reply-To: <9f48a955-5f8a-450c-94c1-2a7d9d69ecb9@FreeBSD.org>
References:  <9f48a955-5f8a-450c-94c1-2a7d9d69ecb9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi Kyle,

> I've been toying around with the idea of pulling got(1) into base (...)
> not supporting it for general usage. 
> The idea would instead be (...) to do the bare minimum to functionally maintain a local copy 
> of our git repos.

I think that can have value for server/small installs where the source is still needed (package building, local tweaks, etc.).

> (rest)

I've never used 'got' so far, but is it impossible to just checkout the bare repository without creating any worktrees?  That could be a useful "option" for people that know they will install and use 'git' afterwards, and solves the problem of trying to avoid losing uncommitted work by just making it disappear.

I guess that detecting uncommitted work with 'got' is as easy as with 'git'?  I personally would not be shocked if the script flat out refuses to proceed on uncommitted work, and see trying to automatically detect, backup and reinstall this work as some nice-to-have that can be receded into the indefinite future.

Thanks and regards.

-- 
Olivier Certner
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmgZyfIACgkQjKEwQJce
Jie1RQ//c4QYL1S0d6TGnKUsO2eGZd2G5kB4S5UhyNi5BFlVHJQwnfhKHcdQJecB
tg2Vxt5I+R5SasDQtZppDS8p+9V31Hb0eCU5GSXMyCdHG2ljZqKCMjE+cdC70mhY
HBVcjsKLiZD7DtxPVYL3GS3NTutZ4G74yrDAZYjEYmHjgg4ICNAy2l1gRHv1CFnh
tk7mQjYyHTyL1AQ85Se05S78+RDCNUDYfH/FYhYhFgU9+Jl5miC+A80y9vJ7Klmy
huU4vHXbKnF1F47jFMPsE8JEYsv47mYhDdfD5sjWlySg6yKygGVFt9Afp1a4MlTH
7eE8J5xENu9cfvBnwQHj393+nRdK1uaNgYoU3ojAihq4swq9u17AsGve2gq4s5yV
AkGnq3iz6Rst6OdeHULHQDSHaUX/5JgseAseNLFuo4FBvqTafTR2t3vciXBrVdsp
qLdW4cpelSauOW4ERPz5G/gd4sncvl7fLT5Tk1pQdX/mc38+fHw7tWS5v4NbSkzw
Yl6QlFyg580oUqsWRqHESyLMVpjYxCcMcDicdUmWqkZh/uPZskkEHsJHWVZySvA7
lHcrJVhOUFXaOjt0wl1p66Z2OUMcPEH/dfH+iNeW1UKmJMYj0KJdsHRqoITR84yZ
Qt7JcsKDk/8exdf+lTEIj3HRvH5Bt79G9wFYjqN/aPHsxGAt+oY=
=sToT
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2029663.vslOlgHxSZ>