Re: [git-users] Post-checkout hook command line arguments

2022-09-21 Thread Ronny Forberger
But I still have a problem: The clean filter seems to be run on git pull as well. Any ideas how to bypass this? On Thursday, September 22, 2022 at 4:10:42 AM UTC+2 Ronny Forberger wrote: > I solved it like this: > > .git/config: > > [filter "crypt"] > clean

Re: [git-users] Post-checkout hook command line arguments

2022-09-21 Thread Ronny Forberger
at 9:37:11 PM UTC+2 Ronny Forberger wrote: > OK, thanks, I will maybe give it a try. > > On Monday, September 12, 2022 at 6:25:41 PM UTC+2 Konstantin Khomoutov > wrote: > >> On Mon, Sep 12, 2022 at 08:15:14AM -0700, Ronny Forberger wrote: >> >> [...] >> >

Re: [git-users] Post-checkout hook command line arguments

2022-09-12 Thread Ronny Forberger
OK, thanks, I will maybe give it a try. On Monday, September 12, 2022 at 6:25:41 PM UTC+2 Konstantin Khomoutov wrote: > On Mon, Sep 12, 2022 at 08:15:14AM -0700, Ronny Forberger wrote: > > [...] > >>>>> I am trying to implement some encryption function with ansible-v

Re: [git-users] Post-checkout hook command line arguments

2022-09-12 Thread Ronny Forberger
I mean, I just want a list of files that are passed to the git checkout command, not any related to the history of a file or its state. On Monday, September 12, 2022 at 4:17:08 PM UTC+2 Konstantin Khomoutov wrote: > On Mon, Sep 12, 2022 at 06:42:15AM -0700, Ronny Forberger wr

Re: [git-users] Post-checkout hook command line arguments

2022-09-12 Thread Ronny Forberger
No, the parameters ($@) that are provided to the hook are not enough for me. On Monday, September 12, 2022 at 3:06:33 PM UTC+2 Konstantin Khomoutov wrote: > On Fri, Sep 09, 2022 at 07:56:56PM -0700, Ronny Forberger wrote: > > > I am trying to implement some encryption function

[git-users] Post-checkout hook command line arguments

2022-09-09 Thread Ronny Forberger
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 cur