-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(agoric-cli): Improve git clone efficiency #8057
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is fine. Shallow clones seem like a good idea here, but...
I have a vague memory that shallow clones have gotchas and should often be avoided, so you might want review from someone with more git expertise.
In this case the clone is followed a few lines later by orphaning its git data completely with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds right to me
refactor(agoric-cli): Improve git clone efficiency
refactor(agoric-cli): Improve git clone efficiency
refactor(agoric-cli): Improve git clone efficiency
refactor(agoric-cli): Improve git clone efficiency
refactor(agoric-cli): Improve git clone efficiency
Description
Use shallow clone to eliminate unnecessary data transfer.
Security Considerations
n/a
Scaling Considerations
Minor improvement for developers on limited networks.
Documentation Considerations
n/a
Testing Considerations
n/a