Skip to content

Commit 51be0fd

Browse files
authored
Update the date reference around Git submodule bug (rust-lang#1430)
1 parent 6116278 commit 51be0fd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: src/git.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,21 @@ no changes added to commit (use "git add" and/or "git commit -a")
157157
These changes are not changes to files: they are changes to submodules (more on
158158
this [later](#git-submodules)). To get rid of those, run `git submodule update`
159159
(or run any `x.py` command, which will automatically update the submodules).
160-
Note that there is (as of <!-- date-check --> February 2022) a [bug][#77620] if you use
161-
worktrees, submodules, and `x.py` in a commit hook. If you run into an error
162-
like:
160+
Note that,
161+
as of <!-- date-check --> Aug 2022,
162+
there is a [bug][#77620] if you use worktrees,
163+
submodules, and `x.py` in a commit hook.
164+
If you run into an error like the following,
165+
it's not anything you did wrong:
163166

164167
```
165168
error: failed to read `/home/joshua/rustc-worktree/src/tools/miri/cargo-miri/Cargo.toml`
166169
167170
Caused by:
168171
No such file or directory (os error 2)
169172
```
170-
it's not anything you did wrong. There is a workaround in [the issue][#77620-workaround].
173+
174+
There is a workaround in [the issue][#77620-workaround].
171175

172176
[#77620]: https://github.com/rust-lang/rust/issues/77620
173177
[#77620-workaround]: https://github.com/rust-lang/rust/issues/77620#issuecomment-705228229

0 commit comments

Comments
 (0)