diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 16:55:58 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 257936b5803b5660428f29fdf4bae620f83b4018 (patch) | |
| tree | 782f0adbc82b0a95b8e6059d731ca1441fb158ce /src/effect_sources.zig | |
| parent | 6122159572f1cc950666df484e2074cf32f22eb5 (diff) | |
| download | pardes-257936b5803b5660428f29fdf4bae620f83b4018.tar.gz pardes-257936b5803b5660428f29fdf4bae620f83b4018.zip | |
diff -u in a command pane names its files though the terminal turned the tab before each timestamp into blanks
A `---`/`+++` path was cut at the tab before diff -u's timestamp. Run in
a command pane, the terminal had turned that tab into blanks, so the name
took the timestamp with it and a look at a changed line opened nothing.
The name is now also cut where blanks run up to a timestamp, either GNU
diff's `2026-09-30 10:00:00...` or ctime's `Wed Sep 30 10:00:00 2026`. One
blank is enough, since a tab can expand to a single blank, and the stamp
is strict, so a name with blanks and no stamp after them stays whole.
Tested on the parsed text and, in fs.py, on real `diff -u` output in a
command pane, where a look at `+TWO` opens the new file.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/effect_sources.zig')
0 files changed, 0 insertions, 0 deletions
