gitui
gitui copied to clipboard
Incorrect treatment of symlink
Describe the bug
I have .venv symlink in the repo, pointing to the .venv dir outside repo directory. .venv is also present in .gitignore.
To Reproduce Steps to reproduce the behavior:
- Create
.venvsymlink in the repository, pointing somewhere outside - add
.venvto.gitignore - Look into Unstaged changes view, it shows
.venvas added - Select
.venvin Unstaged changes view, Diff view shows:
┌@@ -0,0 +1 @@
│/home/dmig/Workspace/backend/.venv
â””\ No newline at end of file
Expected behavior
No changes in status view, same is git status shows.
Screenshots
Context (please complete the following information):
- OS/Distro + Version: Arch inside WSL
- GitUI Version: gitui nightly 2025-02-28 (99f6967)
- Rust version: n/a