threads / patch / 44392

patchpre-receive.sample: Mark executable

Subject: [PATCH] pre-receive.sample: Mark executable

## tl;dr

2 messages between Oct 28, 2016 and Oct 28, 2016. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Anders Kaseorg· Oct 28, 2016, 18:40 UTC · lore

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
Show changes to templates/hooks--pre-receive.sample +0 −0
diff --git a/templates/hooks--pre-receive.sample b/templates/hooks--pre-receive.sample
old mode 100644
new mode 100755
-- 
2.10.1
Junio C Hamano· Oct 28, 2016, 21:19 UTC · re: Anders Kaseorg · lore

Re: [PATCH] pre-receive.sample: Mark executable

Anders Kaseorg <andersk@mit.edu> writes:
Show 6 quoted lines
> 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.
Show 7 quoted lines
>  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

← back to recent threads