Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git rev-parse origin/<branch-name> to get latest pushed ref #792

Open
mrexox opened this issue Jul 26, 2024 · 0 comments
Open

Use git rev-parse origin/<branch-name> to get latest pushed ref #792

mrexox opened this issue Jul 26, 2024 · 0 comments
Labels
feature request A new lefthook feature description

Comments

@mrexox
Copy link
Member

mrexox commented Jul 26, 2024

⚡ Summary

Instead of using @{push} or HEAD -> ... ref for getting files diffs, use the latest pushed commit hash on the current branch. And HEAD -> ... as a fallback.

Value

Behavior and configuration changes

@mrexox mrexox added the feature request A new lefthook feature description label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A new lefthook feature description
Projects
None yet
Development

No branches or pull requests

1 participant