perf: --depth=1 shallow clone for end users
#203
Open
agilgur5 wants to merge 1 commits from
agilgur5/perf-clone-depth into main
pull from: agilgur5/perf-clone-depth
merge into: :main
:main
:MisterWizzard/fix/magisk-data-adb-permissions
:JonasAlv/main
:sr00t3d/feature/tflite-crash-fix
:EsymDnB/main
:LmanTW/main
:SoulInfernoDE/main
:MarSoft/patch-1
:Alistair1231/inline-dependencies
:porkboi/patch-1
:i-am-very-smart/main
:Kazevic/patch-1
:lolmc0587/main
:SteavenGamerYT/patch-1
:rduttshukla/feat/smartdock-update-and-permission-fix
:agilgur5/perf-clone-depth
:Ryhon0/main
:AndyKhang404/patch-1
:noobhacker1/main
:ios7jbpro/patch-1
:TannerSchultz2006/main
:EliasTheGrandMasterOfMistakes/patch-1
:arjun-234/main
:xuzhen/patch-1
:Quackdoc/patch-1
:jo-so/readme
:Quackdoc/patch-2
:creeloper27/main
:brccabral/patch-1
1
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
3bbf8d8472 |
perf: --depth=1 shallow clones for end users
- rather than cloning the entire history of repos, can do a shallow clone with a [depth](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-code--depthcodeemltdepthgtem) of 1 - this should make it more efficient, particularly when there are many commits or many large commits - since the history is unused by regular end users, there is no need to fetch/download it - could alternatively do a [bare](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-code--barecode) clone to be even more efficient - but I thought a shallow clone is a bit less intrusive for now - and is reversible, if needed (i.e. a local shallow clone can fetch the rest of the depth) - also add syntax highlighting to the first code block, matching the second one |