vlad-git icon indicating copy to clipboard operation
vlad-git copied to clipboard

Reduced amount of checkout, simplifying things a bit.

Open jarl-dk opened this issue 12 years ago • 3 comments

This is also to unify that revision is in context of the repository (not the local working repository)

jarl-dk avatar Oct 11 '12 11:10 jarl-dk

You should also be aware of https://github.com/seattlerb/rake-remote_task/pull/19

jarl-dk avatar Oct 11 '12 11:10 jarl-dk

What's the motivation here?

I'm not sure that shallow clones are faster for most use cases. Some example here show shallow clones are ~89% the size of a full clone.

This patch would do the shallow clone every deploy; whereas fast checkout only downloads the changes since the last commit.

ktheory avatar Oct 11 '12 14:10 ktheory

I don't mind skipping the --depth= argument completely for stability/clarity reasons... It will also eliminate any concerns regarding is_commit_id?(revision) My personal experience though is that the size is ~50% size, only really large projects (linux kernel) goes down to ~15%

jarl-dk avatar Oct 11 '12 18:10 jarl-dk