Skip to content

Commit 0aca00d

Browse files
committed
git: pre-commit: missing space
Fix: commit 8e1526a ("git: update hooks/pre-commit") Signed-off-by: Rong Tao <rongtao@cestc.cn>
1 parent 8e1526a commit 0aca00d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/git/hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ exec 1>&2
2727

2828
hint_changelog() {
2929
if [[ -f ${GIT_TOPDIR}/CHANGELOG.md ]] &&
30-
![[ -L ${GIT_TOPDIR}/CHANGELOG.md ]]; then
30+
! [[ -L ${GIT_TOPDIR}/CHANGELOG.md ]]; then
3131
if ! [[ " ${try_modify[@]} " =~ " CHANGELOG.md " ]]; then
3232
git status --short
3333
fatal "${@}" "you forgot modify CHANGELOG!!! Try FORCE???"

0 commit comments

Comments
 (0)