Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC v2] git-multimail: a replacement for post-receive-email

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:56:09

Andy Parkins [off-list ref] writes:
On Wednesday 13 February 2013 14:56:25 Matthieu Moy wrote:
quoted
Michael Haggerty [off-list ref] writes:
quoted
I think adding a short "dependencies" section in the README (or in an
INSTALL file) saying which Python version works could save new users the
trouble (I see the sheebang inside the scripts says python2 but since I
couldn't use my system's python and called
"path/to/python git_multimail.py", this didn't help). Making the script
portable with python 2 and 3 would be awesome ;-).
For my 2p worth, I don't like seeing hooks called like this.  Particular those 
that come as part of the standard installation.
What do you mean by "like this" ?
I call mine by installing little scripts like this (on Debian):

  #!/bin/sh
  # stored as $GIT_WORK_DIR/.git/hooks/post-receive-email
  exec /bin/sh /usr/share/git-core/contrib/hooks/post-receive-email
Yes, this is what I was doing (with path/to/python instead of /bin/sh,
and git_multimail.py, or more precisely path/to/git_multimail.py,
instead of post-receive-email).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help