Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oxplot
· 11y ago · 0 comments
You only
delay
saving time and bandwidth — you eventually have to clone the repo for any ops other than checking the head SHAs and unless the repo is rarely updated, the delay will be short.
Comments
[–]
fenollp
11y ago
Use git-archive or curl: gzipped source code is always smaller than a full versioned repo…
[–]
oxplot
OP
11y ago
You don't need the full versioned repo, just the top commit (ie cloning with depth=1). Also, git compresses the objects before sending them.