| Issue 922: | commit-msg hook uses invalid language constructs for /bin/sh | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.6.1, master What steps will reproduce the problem? 1. On a system with a true bourne shell as /bin/sh (a Solaris machine for example) commit some files to git. 2. An error will occur in the gerrit-provided commit-hook and abort the commit. What is the expected output? What do you see instead? Expected output is the output without the hook installed, not the following error message: .git/hooks/commit-msg: syntax error at line 27: `clean_message=$' unexpected Please provide any additional information below. Changing the interpreter in commit-msg to /bin/ksh works for Solaris.
May 31, 2011
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: FixedIn-2.1.7