aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-04-10 05:43:26 -0400
committerChris Smith <toonarmy@phpbb.com>2010-04-13 21:44:18 +0100
commit9674214b2ffd3fc98e707ffa8f9b8b9eaef054da (patch)
tree91bcdebebd8bc80b9cf8e16d4ac73813251b3b4f /git-tools
parent9afe2c9b6e9b414889f8642e719308afa434bc40 (diff)
downloadforums-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar
forums-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar.gz
forums-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar.bz2
forums-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar.xz
forums-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.zip
[git-tools] Use @ instead of : in sed command in pre-commit hook for wider compatibility.
Diffstat (limited to 'git-tools')
-rwxr-xr-xgit-tools/hooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tools/hooks/pre-commit b/git-tools/hooks/pre-commit
index 835b28aec3..9719b91746 100755
--- a/git-tools/hooks/pre-commit
+++ b/git-tools/hooks/pre-commit
@@ -62,7 +62,7 @@ do
then
error=1
# Swap back in correct filenames
- errors=$(echo "$errors"; echo "$result" |sed -e "s:in - on:in $filename on:g")
+ errors=$(echo "$errors"; echo "$result" |sed -e "s@in - on@in $filename on@g")
fi
done
unset IFS