Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative
by darrenf on Monday January 22, 2024 @09:04AM
(#39089635)
> An example use case is game studios having repos with very large histories (hundreds of GiBs and more) where the tip is significantly smaller. Having the entire repo history on your local machine might be infeasible, and usually unnecessary. Being able to get just the tip and get the rest via API calls solves this.
"Being able to get just the tip" is `git clone --depth 1`, isn't it?
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative
by egaldv on Monday January 22, 2024 @09:19AM
(#39089766)
And then you lose functionality, for example `git blame` depends on the history being available locally. If you want a working repository with all the source control features you need a regular clone. That's where "being able to get the rest via API calls..." kicks in :)
Re:Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative
by darrenf on Monday January 22, 2024 @09:52AM
(#39090069)
OK so `git clone --filter=blob:none`, then. That downloads the tip and commit history, but no historic blobs. `git blame` then works by downloading missing blobs on demand, which doesn't sound too different to making an API call.
AI workflows are definitely a use case we are looking at in the near future. What types of files are you hosting on S3?