Skip to content

Commit

Permalink
fix broken pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
cj81499 committed Apr 26, 2021
1 parent c3e45f3 commit 70b5c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# If Packages has staged changes
if git status -s | grep -c -q "M. Packages";
if git status -s | grep -c -q "M. jekyll/Packages";
then
# Update Packages.gz to match
gzip Packages -k -f
git add Packages.gz
gzip jekyll/Packages -k -f
git add jekyll/Packages.gz
fi
Binary file modified jekyll/Packages.gz
Binary file not shown.

0 comments on commit 70b5c31

Please sign in to comment.