From c6dec4518ad8495bbb07bbe76f6c9806842f2b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Thu, 4 Aug 2016 21:08:09 +0200 Subject: [PATCH] Make the pre-commit Git hook executable. This allows for symlinking it in .git/hooks/ directly[1] or executing it from within an already existing `pre-commit` hook/script without calling out to an interpreter in there[2], thus keeping up with any upstream changes to it automatically. Follow-up to e3b39b72336ac07724afa8ef659ba4301df12d21 / https://github.com/loot/loot/issues/622 [1] `ln -s ../../scripts/git/pre-commit .git/hooks/pre-commit` [2] `./scripts/git/pre-commit` vs. `/bin/sh ./scripts/git/pre-commit` --- resources/l10n/template.pot | 2 +- scripts/git/pre-commit | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/git/pre-commit diff --git a/resources/l10n/template.pot b/resources/l10n/template.pot index ddad5d25..00accbbe 100644 --- a/resources/l10n/template.pot +++ b/resources/l10n/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: LOOT 0.9.2\n" "Report-Msgid-Bugs-To: https://github.com/loot/loot/issues\n" -"POT-Creation-Date: 2016-08-04 18:29+0100\n" +"POT-Creation-Date: 2016-08-04 21:46+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/scripts/git/pre-commit b/scripts/git/pre-commit old mode 100644 new mode 100755