From 8c0b5b0ee11ff9855e9f348197465f02faf49730 Mon Sep 17 00:00:00 2001 From: Nick Sheck Date: Thu, 8 Oct 2020 15:26:04 -0700 Subject: [PATCH] Remove hooks that conflict with git-lfs https://github.com/thoughtbot/dotfiles/issues/627#issuecomment-520909574 --- git_template/hooks/post-checkout | 6 ------ git_template/hooks/post-commit | 6 ------ git_template/hooks/post-merge | 6 ------ git_template/hooks/pre-push | 7 ------- 4 files changed, 25 deletions(-) delete mode 100755 git_template/hooks/post-checkout delete mode 100755 git_template/hooks/post-commit delete mode 100755 git_template/hooks/post-merge delete mode 100755 git_template/hooks/pre-push diff --git a/git_template/hooks/post-checkout b/git_template/hooks/post-checkout deleted file mode 100755 index ddc681fc32..0000000000 --- a/git_template/hooks/post-checkout +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -local_hook="$HOME"/.git_template.local/hooks/post-checkout -[ -f "$local_hook" ] && . "$local_hook" - -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/hooks/post-commit b/git_template/hooks/post-commit deleted file mode 100755 index cbc1d57354..0000000000 --- a/git_template/hooks/post-commit +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -local_hook="$HOME"/.git_template.local/hooks/post-commit -[ -f "$local_hook" ] && . "$local_hook" - -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/hooks/post-merge b/git_template/hooks/post-merge deleted file mode 100755 index 30e9bd2fa0..0000000000 --- a/git_template/hooks/post-merge +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -local_hook="$HOME"/.git_template.local/hooks/post-merge -[ -f "$local_hook" ] && . "$local_hook" - -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/hooks/pre-push b/git_template/hooks/pre-push deleted file mode 100755 index 853533567d..0000000000 --- a/git_template/hooks/pre-push +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -local_hook="$HOME"/.git_template.local/hooks/pre-push - -if [ -f "$local_hook" ]; then - . "$local_hook" -fi