Skip to content

Conversation

@tshepang
Copy link
Member

@tshepang tshepang commented Jul 9, 2025

  • --depth=1 is more useful for once-off uses, like on ci
  • .git postfix on github repo url is not needed

- --depth=1 is more useful for once-off uses, like on ci
- .git postfix on github repo url is not needed
@rustbot
Copy link
Collaborator

rustbot commented Jul 9, 2025

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jul 9, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Jul 9, 2025

--depth=1 can be intentional sometimes, if history doesn't matter for your particular workflow instance.
r? @ZuseZ4 (autodiff workflow, I'm not sure)

@Noratrieb
Copy link
Member

wasn't there a problem that depth 1 doesn't work properly with bootstrap?

@jieyouxu
Copy link
Member

jieyouxu commented Jul 9, 2025

For rust-lang/rust almost certainly, I was moreso wondering about the enzyme/llvm cases

@ZuseZ4
Copy link
Member

ZuseZ4 commented Jul 14, 2025

I think depth=1 worked well for me even when contributing and saved some time, but then users should also know or learn related commands like unshallow. I guess having slower but simpler and more robust default is better, so lgtm. Thanks!

@ZuseZ4 ZuseZ4 merged commit 3ec1454 into master Jul 14, 2025
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Jul 14, 2025
@tshepang tshepang deleted the tshepang-git-clone branch July 14, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants