From: Eduardo Ramos Testillano Date: Fri, 3 Apr 2015 12:06:49 +0000 (+0200) Subject: remember git server info. src script to ease its activation X-Git-Tag: REFACTORING_TESTING_LIBRARY~198 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=3d9ebb8aa294837d2ad48350410c2a29db2e9fff;p=anna.git remember git server info. src script to ease its activation --- diff --git a/scr/git/use-pre-commit.sh b/scr/git/use-pre-commit.sh deleted file mode 100755 index 04fcb26..0000000 --- a/scr/git/use-pre-commit.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd `dirname $0` -ln -sf ../../scr/git/pre-commit.sh ../../.git/hooks/pre-commit diff --git a/scr/git/use_post-update.sh b/scr/git/use_post-update.sh new file mode 100755 index 0000000..a3ed7a9 --- /dev/null +++ b/scr/git/use_post-update.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd `dirname $0`/../../.git/hooks +mv post-update.sample post-update 2>/dev/null diff --git a/scr/git/use_pre-commit.sh b/scr/git/use_pre-commit.sh new file mode 100755 index 0000000..04fcb26 --- /dev/null +++ b/scr/git/use_pre-commit.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd `dirname $0` +ln -sf ../../scr/git/pre-commit.sh ../../.git/hooks/pre-commit