Skip to content

Commit 993fc09

Browse files
committed
Specify the range for pre-push git hook properly
The commit 1fc33ab incorrectly sets the range for pre-push git hook, causing the check failure. Change-Id: Ibe886c302df7c9c5a21cc1d23c30c5f25a6c81cb
1 parent b23e25a commit 993fc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pre-push.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NC='\033[0m' # No Color
1212
# Author: Jim Huang <[email protected]>
1313
# Date: Thu Feb 20 05:20:55 2025 +0800
1414
# Bump copyright year
15-
commit=$(git rev-list --skip 1 --grep '^Bump copyright' 0c2680aedb95dba0b7faa0b3acf784b55826652f...HEAD)
15+
commit=$(git rev-list --skip 1 --grep '^Bump copyright' 0b8be2c15160c216e8b6ec82c99a000e81c0e429...HEAD)
1616
if [ x"$commit" != x"50c5ac53d31adf6baac4f8d3db6b3ce2215fee40" ] ; then
1717
echo -e "${RED}ERROR${NC}: This repository is insane."
1818
echo -e "Make sure you did fork from https://github.com/sysprog21/lab0-c recently."

0 commit comments

Comments
 (0)