Skip to content

git: Use -z for null separated parsing - #278

Merged
jerry-skydio merged 1 commit into
jerry/revup/main/deletelasttouchedfrom
jerry/revup/main/fixescaping
Jul 27, 2026
Merged

git: Use -z for null separated parsing#278
jerry-skydio merged 1 commit into
jerry/revup/main/deletelasttouchedfrom
jerry/revup/main/fixescaping

Conversation

@jerry-skydio

Copy link
Copy Markdown
Collaborator

Some git commands using paths will escape unicode characters, which
we then don't handle properly.

Fix this by passing -z so git doesn't escape these, and splitting on nulls.

Add a test

@jerry-skydio

Copy link
Copy Markdown
Collaborator Author

Reviews in this chain:
#267 amend: Fix last-touched functionality
 └#276 amend: Fix last-touched when deleting files
  └#278 git: Use -z for null separated parsing

@jerry-skydio

jerry-skydio commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author
# head base diff date summary
0 23876b43 e70a81fe diff Jul 23 16:14 PM 3 files changed, 37 insertions(+), 8 deletions(-)
1 9c4b3f18 f5bb77dd rebase Jul 27 13:47 PM 0 files changed

Some git commands using paths will escape unicode characters, which
we then don't handle properly.

Fix this by passing -z so git doesn't escape these, and splitting on nulls.

Add a test
@jerry-skydio
jerry-skydio force-pushed the jerry/revup/main/deletelasttouched branch from e70a81f to f5bb77d Compare July 27, 2026 20:47
@jerry-skydio
jerry-skydio force-pushed the jerry/revup/main/fixescaping branch from 23876b4 to 9c4b3f1 Compare July 27, 2026 20:47
@jerry-skydio
jerry-skydio merged commit b23066b into jerry/revup/main/deletelasttouched Jul 27, 2026
@jerry-skydio
jerry-skydio deleted the jerry/revup/main/fixescaping branch July 27, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants