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

[PATCH] pre-receive.sample: Mark executable

From
Anders Kaseorg <andersk@mit.edu>
Date
Oct 28, 2016, 18:40 UTC
Message-ID
<alpine.DEB.2.10.1610281438000.60842@buzzword-bingo.mit.edu>

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
Next: Junio C Hamano
Message 1 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.