Hi, I am trying to implement some encryption function with ansible-vault into git hooks. For decryption, I need the list of files passed on the command line to git checkout command. I am using the post-checkout hook here. I didn't find this information on the Internet.
My post-checkout hook currently looks like: #!/bin/bash set -eo pipefail FILES=... for f in $FILES; do ansible-vault decrypt $f done How can I access the command line arguments passed to git checkout in the post-checkout hook? Thank you. Best regards, Ronny -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/39eb6f02-8b7e-4a2b-8bca-b55cccb3e22dn%40googlegroups.com.