-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Bootstrap shows unexpected warning: unable to check if origin/master is old due to error #131296
Comments
A bisect points at
That's #129584. I am surprised about the date of this PR, I think I would have noticed this earlier if this happened for a month... so probably some other factor is also involved. |
It seems to try to read
I also noticed this line in
So maybe checking these files is just futile since git doesn't always use a file to track these refs? |
I think what happened is that So the current approach in bootstrap of looking at these files is not reliable. IMO we should instead look at the commit date of the most recent commit in that branch. That also avoids having to directly mess with git's internal files. |
yeah, i'm gonna accept defeat on this one. |
#129528 is not the case anymore since refactor merge base logic and fix x fmt PR. I am planning to revert #130121 and #129584 as they are not really required. |
Rollup merge of rust-lang#131331 - onur-ozkan:131296, r=Kobzol Revert "warn_old_master_branch" check See rust-lang#131296 (comment). Reverts rust-lang#130121 and rust-lang#129584. Fixes rust-lang#131296 and rust-lang#131324.
I am getting this on each
x.py
invocation now, since very recently:This is in my main checkout, not in a worktree, so I am not quite sure what could even be so unusual about my setup that causes an error here.
Cc @rust-lang/bootstrap
The text was updated successfully, but these errors were encountered: