[Docs] Lefthook described inaccurately in comparisons #1296
Unanswered
dhouck
asked this question in
Troubleshooting and Bug Reports
Replies: 1 comment
|
Thanks for the correction—you’re right. Lefthook has hidden and restored tracked, partially staged changes for pre-commit hooks since v1.3.0. Its handling is more limited than hk’s (notably, it does not hide untracked files), but describing it as having no stash management was inaccurate. I’ve opened #1297 to correct the comparison and document that distinction. AI-assisted — Tool: Codex; model: openai/gpt-5; version: unavailable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://hk.jdx.dev/why-hk.html says lots of times that Lefthook does no stash management whatsoever. This seems to be incorrect; it has done some since 1.3.0, although there are several open issues about it (eg. evilmartians/lefthook#833, evilmartians/lefthook#1480) so it might not do it well.
I havenʼt personally used it (Iʼm looking at hk because Iʼm trying to find a hook manager), so it might just do nothing, but some of those issues seem like they couldnʼt exist if it werenʼt even trying to stash unstaged changes.
All reactions