We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 390ade9 + 9fa4d90 commit 4627f69Copy full SHA for 4627f69
scripts/pre-push.hook
@@ -12,7 +12,7 @@ NC='\033[0m' # No Color
12
# Author: Jim Huang <[email protected]>
13
# Date: Tue Feb 20 03:59:49 2024 +0800
14
# Bump copyright year
15
-commit=$(git rev-list -n 1 --grep '^Bump copyright' 1aca5b98471765db50c91e03298e49bf7c08cdbc...HEAD)
+commit=$(git rev-list --skip 1 --grep '^Bump copyright' 1aca5b98471765db50c91e03298e49bf7c08cdbc...HEAD)
16
if [ x"$commit" != x"3ed17237af5b1ead6c394df5099bc2bc1f8392df" ] ; then
17
echo -e "${RED}ERROR${NC}: This repository is insane."
18
echo -e "Make sure you did fork from https://github.com/sysprog21/lab0-c recently."
0 commit comments