git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 28, 2016, 21:19 UTC
Message-ID
<xmqq37jgyxwm.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<alpine.DEB.2.10.1610281438000.60842@buzzword-bingo.mit.edu>
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
Previous: Anders Kaseorg
Message 2 of 2 in “pre-receive.sample: Mark executable”
  1. pre-receive.sample: Mark executableAnders Kaseorg, Oct 28, 2016
  2. Junio C HamanoOct 28, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.