Reproduction steps
- Configure Zed as your $GIT_EDITOR:
{ "terminal": { "env": { "GIT_EDITOR": "zed --wait" } } }
- Run the following in the integrated terminal:
touch foo
git add foo
git commit
- Type any non-empty commit message, then save and close the file to commit
- Run the following in the integrated terminal:
touch bar
git add bar
git commit
Current vs. Expected behavior
After the 2nd git commit, the COMMIT_EDITMSG file opens with the commit message from the 1st invocation. The file has changed on disk, but is not reflected in Zed.
Zed version and system specs
Zed: v1.11.3+stable.326.952d712dac48a4af2c54fb22c82d82a9d69b72d4 (Zed)
OS: macOS 15.7.7
Memory: 16 GiB
Architecture: x86_64
Reproduction steps
{ "terminal": { "env": { "GIT_EDITOR": "zed --wait" } } }Current vs. Expected behavior
After the 2nd
git commit, theCOMMIT_EDITMSGfile opens with the commit message from the 1st invocation. The file has changed on disk, but is not reflected in Zed.Zed version and system specs
Zed: v1.11.3+stable.326.952d712dac48a4af2c54fb22c82d82a9d69b72d4 (Zed)
OS: macOS 15.7.7
Memory: 16 GiB
Architecture: x86_64