Re: HowTo distribute a hook with the reposity.

2016-12-29 Thread Lars Schneider
> On 28 Dec 2016, at 19:53, Jacob Keller wrote: > > On Tue, Dec 27, 2016 at 10:08 PM, Jeff King wrote: >> >> https://github.com/Autodesk/enterprise-config-for-git >> >> (with the disclaimer that I've never used it myself, so I have no >>

Re: HowTo distribute a hook with the reposity.

2016-12-28 Thread Jacob Keller
On Tue, Dec 27, 2016 at 10:08 PM, Jeff King wrote: > >https://github.com/Autodesk/enterprise-config-for-git > > (with the disclaimer that I've never used it myself, so I have no > idea how good it is). > > I think you probably know all that, Jake, but I am laying

Re: HowTo distribute a hook with the reposity.

2016-12-28 Thread Jeff King
On Wed, Dec 28, 2016 at 09:09:04AM +, John P. Hartmann wrote: > The problem I am grappling with is how to obtain the latest git commit hash > and enter it into the generated code. Configure/make would appear to the > the time, but by then the user may not have git installed (e.g., extracted

Re: HowTo distribute a hook with the reposity.

2016-12-28 Thread John P. Hartmann
Thanks, Peff, for your lucid answer to my question and much more. All is now clear to me. The problem I am grappling with is how to obtain the latest git commit hash and enter it into the generated code. Configure/make would appear to the the time, but by then the user may not have git

Re: HowTo distribute a hook with the reposity.

2016-12-28 Thread Jeff King
On Wed, Dec 28, 2016 at 08:42:25AM +, John P. Hartmann wrote: > This project is hosted on github. If I put the hook into the repository > manually (if I can; I don't know that), is it true that the hook would be > distributed on a clone action, but not on a pull? I'm not sure what you mean

Re: HowTo distribute a hook with the reposity.

2016-12-28 Thread John P. Hartmann
Thanks; your point is taken. One final wrinkle: This project is hosted on github. If I put the hook into the repository manually (if I can; I don't know that), is it true that the hook would be distributed on a clone action, but not on a pull? j. On 28/12/16 06:08, Jeff King

Re: HowTo distribute a hook with the reposity.

2016-12-27 Thread Jeff King
On Tue, Dec 27, 2016 at 09:32:22PM -0800, Jacob Keller wrote: > On Tue, Dec 27, 2016 at 5:34 PM, John P. Hartmann > wrote: > > I would like a hook in .got/hooks to be made available to all who clone or > > pull a particular project. I'd also like the hook to be under git

Re: HowTo distribute a hook with the reposity.

2016-12-27 Thread Jacob Keller
On Tue, Dec 27, 2016 at 5:34 PM, John P. Hartmann wrote: > I would like a hook in .got/hooks to be made available to all who clone or > pull a particular project. I'd also like the hook to be under git control > (changes committed ). I added a hook, but git status does not

HowTo distribute a hook with the reposity.

2016-12-27 Thread John P. Hartmann
I would like a hook in .got/hooks to be made available to all who clone or pull a particular project. I'd also like the hook to be under git control (changes committed ). I added a hook, but git status does not show it. Presumably git excludes its files in .git/ from version control lest