/
githubmirror
/
flashrom
Обзор
Документация
Войти
/
githubmirror
/
flashrom
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.2
util/git-hooks/pre-commit
9 строк
310 B
Stefan Tauner
Convert flashrom to git
23 июн 2017, 09:08
23 июн 2017, 09:08
7634708
Код
Авторство
О чём код?
#!/bin/sh # # A hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # Check for whitespace errors git diff-index --check --cached HEAD -- || exit 1