Bakul Shah wrote in <a63bbcc9-88c8-4c00-9337-dfc62bfc4...@iitbombay.org>: |[-9fans, +freebsd-current as 9fans adds a reply-to: 9fans line] |> On Jan 23, 2025, at 3:53 PM, Warner Losh <i...@bsdimp.com> wrote: |> |> I fail to see how putting code in the kernel is better than just \ |> using got for the few people that are alergic to git. Even if it \ |> is only 1000 lines in plan 9, but likely more in FreeBSD and by the \ |> way not yet ported to FreeBSD. We know got can't crash the system \ |> and is small enough to not matter, even if it isn't in the base today. |May I suggest: |- always ship the *commit hash* for any release or snapshot with its \ |base.txz |- src.txz as now (or add commit hash) |- this is enough to download a repo (1-deep or whatever), bare if src.txz \ |was also unpacked. |- add a simple script to download as above. |- people can install whatever git client they want for further work. | |git9 doesn't require any kernel code but on freebsd you'd have to |use plan9port. It is far simpler but has a different interface.
I never meant to take _exactly_ the code as in Plan9 / 9front btw. I only knew he was doing the work already, and did so over so several years, so there is experience. Likely the code that accesses git's objects/ as such is pretty lean / portable. Maybe even he would have been willing to port the extract to POSIX so that for example "xy HASH" searches in . and cats a blob content to stdout, you know. Hey, it seems his qpath() even uses Torek's hash! Here you have the BSD link you are missing. :) A nice Sunday everyone whoeever can, and others even more. --steffen |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | |In Fall and Winter, feel "The Dropbear Bard"s pint(er). |The banded bear |without a care, |Banged on himself for e'er and e'er |Farewell, dear collar bear ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T16a2bbbe7794d5cd-Md1ac2b7aa5c63ae14a373d41 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription