File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,18 @@ no changes added to commit (use "git add" and/or "git commit -a")
9595
9696These changes are not changes to files: they are changes to submodules
9797(more on this later). To get rid of those, run ` git submodule update ` (or run any
98- ` x.py ` command which will automatically update the submodules).
98+ ` x.py ` command, which will automatically update the submodules).
99+ Note that there is currently a bug if you use worktrees, submodules, and x.py in a commit hook.
100+ If you run into an error like:
101+ ```
102+ error: failed to read `/home/joshua/rustc-worktree/src/tools/miri/cargo-miri/Cargo.toml`
103+
104+ Caused by:
105+ No such file or directory (os error 2)
106+ ```
107+ it's not anything you did wrong. There is a workaround at [ #77620 ] .
108+
109+ [ #77620 ] ( https://github.com/rust-lang/rust/issues/77620#issuecomment-705228229 )
99110
100111## Conflicts
101112
You can’t perform that action at this time.
0 commit comments