Closed sliptype closed 12 months ago
Well done, and thanks for your help :) I was stuck on this one.
I'll have this merged and deployed shortly in a beta version, then as a main hotfix. Hopefully it will be done today
Hi @sliptype, I can't merge your work and deploy a beta/main version because we need commits from contributors to be signed before we merge them into our beta branch. Could you sign your commits please ? Can't wait to have this fix deployed !
Some useful links about signing git commits, and especially existing commits
Hey @LMaxence thanks for the heads up! Commit is signed now :)
Great, thanks for your contribution :)
Published with version 2.4.1
Fixes: https://github.com/Escape-Technologies/mookme/issues/111
I noticed that with a single unpushed commit
git rev-list @{push}..
returns only a single commitand
this.getFilesChangedBetweenRefs(commits[commits.length - 1], commits[0])
obviously returns no diff, resulting in the pre-push hook being skipped.Using
git rev-list @{push}^..
returns a list including the@{push}
reference:The diff properly returns the changed files and the pre-push hook is run