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-vault > > into git hooks.

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

2022-09-12 Thread Konstantin Khomoutov
On Mon, Sep 12, 2022 at 08:15:14AM -0700, Ronny Forberger wrote: [...] > 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 [...] > I mean, I just want a list of files that are

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

2022-09-12 Thread DANNY ROY
Danny Roy 1225 st-Edgar Drummondville Québec Canada j2B-2W4 Envoyé de mon iPhone > Le 12 sept. 2022 à 11:15, Ronny Forberger > a écrit : > > I mean, I just want a list of files that are passed to the git

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 wrote: > > [...] > >

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

2022-09-12 Thread Konstantin Khomoutov
On Mon, Sep 12, 2022 at 06:42:15AM -0700, Ronny Forberger wrote: [...] > > > 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

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 with

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

2022-09-12 Thread Konstantin Khomoutov
On Fri, Sep 09, 2022 at 07:56:56PM -0700, Ronny Forberger wrote: > 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