Rendered at 03:36:38 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
snthpy 59 minutes ago [-]
I've been wanting to ask this:
Why isn't
git clone --depth 1 ...
the default?
I would guess that for at least 90% of the repos I clone, I just want to install something. Even for the rest, I might hack on the code but seldom look into the history. If I do then I could do a `git fetch` at that point and save the bandwidth and disk space the rest of the time.
dwattttt 40 minutes ago [-]
A question: why is git involved at all in this? You don't want a repository.
skydhash 23 minutes ago [-]
This! The default was to have a link to download a tarball of the source. And if the user wanted to contribute (or check the devel version), you would add a link to the vcs.
Why isn't
the default?I would guess that for at least 90% of the repos I clone, I just want to install something. Even for the rest, I might hack on the code but seldom look into the history. If I do then I could do a `git fetch` at that point and save the bandwidth and disk space the rest of the time.
https://github.blog/open-source/git/get-up-to-speed-with-par...
https://gitperf.com/chapter-11.html
and also git
which makes more sense i guess