[Git][security-tracker-team/security-tracker][master] pre-commit hook: do not check for $GIT_DIR

Salvatore Bonaccorso carnil at debian.org
Wed Jun 20 12:58:31 BST 2018


Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker


Commits:
20aaf646 by Salvatore Bonaccorso at 2018-06-20T13:58:12+02:00
pre-commit hook: do not check for $GIT_DIR

- - - - -


1 changed file:

- conf/pre-commit


Changes:

=====================================
conf/pre-commit
=====================================
--- a/conf/pre-commit
+++ b/conf/pre-commit
@@ -2,11 +2,6 @@
 
 set -e
 
-if [ -z "${GIT_DIR}" ]; then
-    echo "GIT_DIR not set" 1>&2
-    exit 1
-fi
-
 exec 1>&2
 
 make check-syntax



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/20aaf646539e381569629745a1365b9de10cf674

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/20aaf646539e381569629745a1365b9de10cf674
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20180620/efb171da/attachment.html>


More information about the debian-security-tracker-commits mailing list