On 8/16/2014 6:42 AM, Edward K. Ream wrote:
On Fri, Aug 15, 2014 at 7:48 AM, Jacob Peck <[email protected]> wrote:
Done as of the current commit. Leo now reports the following on startup:
Leo 4.11 final, build 20140815084439, Fri Aug 15 08:44:39 2014
Git repo info: branch = master, commit = 2cda89f4411b
Python 2.7.6, PyQt version 4.8.5
Windows 7 x86 (build 6.1.7601) SP1
Thanks Jake. I installed the git hooks, but got this error:
error: cannot spawn .git/hooks/pre-commit
Googling this message produced some answers, but I'm not sure how they
apply to me ;-(
Any advice for me?
Edward
What's your environment? Windows? Are you using cygwin, msys, or the
git for windows shell? Or are you using the github app?
In cygwin they work without a hitch. For other environments, I suggest
that you make sure C:\path\to\python.exe is in your path, and you may
have to mangle the shebang lines of .git/hooks/pre-commit and
.git/hooks/commit-msg. Perhaps even moving them to pre-commit.py and
commit-msg.py, and then writing a small script
#!/bin/sh
/c/path/to/python.exe pre-commit.py
etc.
.bat files might work too, not sure.
Hope this helps...
-->Jake
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.