Skip to content

Commit f053370

Browse files
author
hastmu
committed
update merge
1 parent e580d3d commit f053370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.githooks/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ set -e
1111

1212
for item in "$(git diff --name-only --cached)"
1313
do
14-
echo "item: ${item}" >&2
14+
echo "item: ${item}" >> .pre-commit.state.log
1515
found=0
1616
if [[ ${item} =~ \.md$ ]] || [ "${item}" == "install.deb.sh" ]
1717
then
18-
echo "CHANGED: ${item}" >&2
18+
echo "CHANGED: ${item}" >> .pre-commit.state.log
1919
CHANGED["${item}"]="${item}.$(uuidgen)"
2020
cp -a "${item}" "${CHANGED["${item}"]}"
2121
cp -a "${item}" "${item}.template"

0 commit comments

Comments
 (0)