Skip to content

perf(sessions): skip git status in the session-start hook - #1845

Merged
igorjs merged 2 commits into
mainfrom
fix/issue-536-s2-s4-followups
Nov 15, 2026
Merged

igorjs merged 2 commits into
mainfrom
fix/issue-536-s2-s4-followups

Conversation

@igorjs

@igorjs igorjs commented Nov 15, 2026

Copy link
Copy Markdown
Member

Summary

The session-start hook asked place_of for the place of the working directory, which ran git status --porcelain for a dirty flag the hook never stores. place_at takes a Dirty switch and the hook passes Skip; place_of still reads it for the sessions view. Follow-up from #1832. Refs #536

Notes for reviewers

Follow-ups from #1800 and #1832 not done here:

The hook stores no dirty flag, but place_of ran git status anyway. A
Dirty switch lets the hook skip the call; the sessions view still reads it.

Signed-off-by: igorjs <2278164+igorjs@users.noreply.github.com>
Signed-off-by: igorjs <2278164+igorjs@users.noreply.github.com>
@igorjs
igorjs marked this pull request as ready for review November 15, 2026 07:37
@igorjs
igorjs enabled auto-merge November 15, 2026 07:39
@igorjs
igorjs added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 0ec837d Nov 15, 2026
29 of 33 checks passed
@igorjs
igorjs deleted the fix/issue-536-s2-s4-followups branch November 15, 2026 07:51
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.

1 participant