{"thread":{"id":"22768","subject":"git-* in hook scripts","startedAt":"2010-02-23T16:33:36Z","lastAt":"2010-02-25T07:15:05Z","messageCount":4,"participants":["Eli Barzilay","Miklos Vajna","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"135435","messageId":"m3hbp7x673.fsf@winooski.ccs.neu.edu","threadId":"22768","inReplyTo":null,"subject":"git-* in hook scripts","fromName":"Eli Barzilay","fromEmail":"eli@barzilay.org","sentAt":"2010-02-23T16:33:36Z","receivedAt":"2010-02-23T16:33:36Z","isPatch":false,"sender":{"key":"eli@barzilay.org","avatar":"https://avatars.githubusercontent.com/u/185905?v=4"},"body":"There are several sample hook scripts that use `git-*' -- should these\nuse `git *' instead?\n-- \n          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:\n                    http://barzilay.org/                   Maze is Life!\n"},{"id":"135504","messageId":"20100223235941.GG12429@genesis.frugalware.org","threadId":"22768","inReplyTo":"m3hbp7x673.fsf@winooski.ccs.neu.edu","subject":"Re: git-* in hook scripts","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2010-02-23T23:59:42Z","receivedAt":"2010-02-23T23:59:42Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Tue, Feb 23, 2010 at 11:33:36AM -0500, Eli Barzilay <eli@barzilay.org> wrote:\n> There are several sample hook scripts that use `git-*' -- should these\n> use `git *' instead?\n\nNo need to do so, `git --exec-path` is already in PATH when those\nscripts are invoked.\n"},{"id":"135509","messageId":"7vr5obxyln.fsf@alter.siamese.dyndns.org","threadId":"22768","inReplyTo":"20100223235941.GG12429@genesis.frugalware.org","subject":"Re: git-* in hook scripts","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-02-24T00:32:20Z","receivedAt":"2010-02-24T00:32:20Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> On Tue, Feb 23, 2010 at 11:33:36AM -0500, Eli Barzilay <eli@barzilay.org> wrote:\n>> There are several sample hook scripts that use `git-*' -- should these\n>> use `git *' instead?\n>\n> No need to do so, `git --exec-path` is already in PATH when those\n> scripts are invoked.\n\nWe have been waiting until nobody remembers days we had dashes.  It may be\na good time to at least start thinking about updating them. v1.6.0 is one\nyear and half old.\n"},{"id":"135657","messageId":"m38wahwzuu.fsf@winooski.ccs.neu.edu","threadId":"22768","inReplyTo":"20100223235941.GG12429@genesis.frugalware.org","subject":"Re: git-* in hook scripts","fromName":"Eli Barzilay","fromEmail":"eli@barzilay.org","sentAt":"2010-02-25T07:15:05Z","receivedAt":"2010-02-25T07:15:05Z","isPatch":false,"sender":{"key":"eli@barzilay.org","avatar":"https://avatars.githubusercontent.com/u/185905?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> On Tue, Feb 23, 2010 at 11:33:36AM -0500, Eli Barzilay <eli@barzilay.org> wrote:\n>> There are several sample hook scripts that use `git-*' -- should\n>> these use `git *' instead?\n>\n> No need to do so, `git --exec-path` is already in PATH when those\n> scripts are invoked.\n\nTo make this a little more concrete, I was thinking about the fact\nthat `git cmd' can be different from `git-cmd' if I add a file with\nthe second name for one of the builtin commands.\n\n-- \n          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:\n                    http://barzilay.org/                   Maze is Life!\n"}]}