Repository navigation
Commit bd490c9
committed
test(repo): cover Unicode and escaped untracked paths
Port the regression from PR #2302 using the scripted repository fixtures.
Check ordinary, Unicode, DEL-containing and leading-space filenames with
both `core.quotePath` settings, including untracked dirty detection.
Validate every filename against NUL-delimited `git status` output before
querying GitPython. Both backends already preserve these paths: the CLI
uses NUL records and Gix uses its directory walk, so no production fix is
needed.
Both untracked-file tests pass with CLI and Gix, including two configuration
subtests. Ruff lint/format, ShellCheck and `git diff --check` pass.1 parent 46303c8 commit bd490c9
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
805 | 814 | | |
806 | 815 | | |
807 | 816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| |||
0 commit comments