The following code errors out if GIT_WORK_TREE
environment variable is set to e.g. the worktree directory path.
let repo = gix::open::Options::default() .strict_config(true) .open(path)?;
Error: Failed to load the git configuration
Caused by:
The key "core.worktree" (possibly from GIT_WORK_TREE) was invalid
Expected behavior 🤔
I'm not sure if the current behavior is expected, but I think a valid GIT_WORK_TREE
should be either respected or ignored at all.
No response
Steps to reproduce 🕹No response
Original issue:
jj-vcs/jj#6437
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4