/
githubmirror
/
lazygit
Обзор
Документация
Войти
/
githubmirror
/
lazygit
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
scripts/check_for_fixups.sh
14 строк
350 B
Stefan Haller
Fix the check_for_fixups.sh script again
06 май 2026, 19:44
06 май 2026, 19:44
af0cdf6
Код
Авторство
О чём код?
#!/bin/sh # We will have only done a shallow clone, so the git log will consist only of # commits on the current PR commits=$(git log --format="%s" | egrep '(^fixup!|^squash!|^amend!|WIP|DROPME)') if [ -z "$commits" ]; then echo "No fixup commits found." exit 0 else echo "Fixup or WIP commits found:" echo "$commits" exit 1 fi