Open chriscz opened 1 month ago
@chriscz : You are right that spr used to use a commit hook to add the commit-id. This mechanism changed to longer need a commit hook, instead appending the commit-id to the commit is done in the tool itself whenever you run spr update.
spr_reword_helper is used to do the actual rewrite by setting a special editor in a rebase. This happens in the GetLocalCommitStack
method.
Been trying to give
git-spr
(version0.14.9
) another go, but for some reason when I commit my commits aren't being tagged withcommit-id
. Git version is 2.40.1.I'm not using verbose commit messages either.
I see some references to
spr_commit_hook
on previous issues, but it seems to have been removed or replaced with another mechanism and is not included in thespr_linux_x86_64.tar.gz
tarball. I see these filesDetails
git-spr
version0.14.9
git
version is2.40.1
Gitconfig
Maybe gpgSign is causing this?
Is spr supposed to automatically install this hook?