; Allow spaces in directory names for Git hooks
* build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Quote "$HOOKS_DIR" to allow spaces.
This commit is contained in:
parent
34ac7d9087
commit
eb3a90619f
2 changed files with 2 additions and 2 deletions
|
@ -44,4 +44,4 @@ else
|
|||
fi
|
||||
|
||||
git rev-parse HEAD | $awk -v reason=post-commit \
|
||||
-f $HOOKS_DIR/commit-msg-files.awk
|
||||
-f "$HOOKS_DIR"/commit-msg-files.awk
|
||||
|
|
|
@ -85,4 +85,4 @@ $awk -v origin_name="$1" '
|
|||
# Print every SHA after oldref, up to (and including) newref.
|
||||
system("git rev-list --first-parent --reverse " oldref ".." newref)
|
||||
}
|
||||
' | $awk -v reason=pre-push -f $HOOKS_DIR/commit-msg-files.awk
|
||||
' | $awk -v reason=pre-push -f "$HOOKS_DIR"/commit-msg-files.awk
|
||||
|
|
Loading…
Add table
Reference in a new issue