git-hook-template: Check the hook as early as possible, avoiding unnecessary work
modified scripts/git-hook-template.sh
@@ -2,6 +2,13 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -35,11 +42,4 @@ then
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |