* [PATCH] pre-receive.sample: Mark executable
@ 2016-10-28 18:40 Anders Kaseorg
2016-10-28 21:19 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Anders Kaseorg @ 2016-10-28 18:40 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
For consistency with other hooks, allow the hook to be activated by
renaming pre-receive.sample to pre-receive without a separate step to
mark it executable.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
templates/hooks--pre-receive.sample | 0
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 templates/hooks--pre-receive.sample
diff --git a/templates/hooks--pre-receive.sample b/templates/hooks--pre-receive.sample
old mode 100644
new mode 100755
--
2.10.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] pre-receive.sample: Mark executable
2016-10-28 18:40 [PATCH] pre-receive.sample: Mark executable Anders Kaseorg
@ 2016-10-28 21:19 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2016-10-28 21:19 UTC (permalink / raw)
To: Anders Kaseorg; +Cc: git
Anders Kaseorg <andersk@mit.edu> writes:
> For consistency with other hooks, allow the hook to be activated by
> renaming pre-receive.sample to pre-receive without a separate step to
> mark it executable.
>
> Signed-off-by: Anders Kaseorg <andersk@mit.edu>
> ---
Makes sense. Thanks.
> templates/hooks--pre-receive.sample | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> mode change 100644 => 100755 templates/hooks--pre-receive.sample
>
> diff --git a/templates/hooks--pre-receive.sample b/templates/hooks--pre-receive.sample
> old mode 100644
> new mode 100755
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-28 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 18:40 [PATCH] pre-receive.sample: Mark executable Anders Kaseorg
2016-10-28 21:19 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox