Skip to content

Commit 44bc494

Browse files
author
hastmu
committed
update
1 parent 5e3ce0e commit 44bc494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.githooks/pre-commit

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ set -e
1717
then
1818
echo "CHANGED: ${item}" >> .pre-commit.state.log
1919
CHANGED["${item}"]="${item}.$(uuidgen)"
20-
cp -a "${item}" "${CHANGED["${item}"]}"
21-
cp -a "${item}" "${item}.template"
20+
cp "${item}" "${CHANGED["${item}"]}"
21+
cp "${item}" "${item}.template"
2222
git add "${item}.template"
2323
# change file as needed
2424
sed -i "s:@branch@:${BRANCH}:g" "${item}"

0 commit comments

Comments
 (0)