pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pre-commit/pre-commit.com/pull/893

sets/actions-9111c292f95f2fb0.css" /> Docs: add note about pre-push hooks not being triggered on ref deletions by whophil · Pull Request #893 · pre-commit/pre-commit.com · GitHub
Skip to content

Docs: add note about pre-push hooks not being triggered on ref deletions#893

Open
whophil wants to merge 1 commit into
pre-commit:mainfrom
whophil:note-pre-push-behavior
Open

Docs: add note about pre-push hooks not being triggered on ref deletions#893
whophil wants to merge 1 commit into
pre-commit:mainfrom
whophil:note-pre-push-behavior

Conversation

@whophil
Copy link
Copy Markdown

@whophil whophil commented Nov 3, 2023

Documents behavior described in pre-commit/pre-commit#3050

Comment thread sections/advanced.md
Comment on lines +185 to +186
note: `pre-push` hooks are not triggered for ref deletions.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a bit more nuance to this than just that -- the variables below imply this is already the case since there must be a from-ref and a to-ref

Copy link
Copy Markdown
Author

@whophil whophil Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the environment variables, I was expecting PRE_COMMIT_TO_REF to be 0000000000000000000000000000000000000000 here, in the case of a ref deletion.

Would you propose an alternate wording, or not documenting this at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy