summaryrefslogtreecommitdiff
path: root/etc/git
diff options
context:
space:
mode:
Diffstat (limited to 'etc/git')
-rwxr-xr-xetc/git/post-merge3
-rwxr-xr-xetc/git/pre-push4
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/git/post-merge b/etc/git/post-merge
new file mode 100755
index 00000000000..f2ad37d35c4
--- /dev/null
+++ b/etc/git/post-merge
@@ -0,0 +1,3 @@
1#!/bin/sh
2# Authenticate the repo upon 'git pull' and similar.
3exec guix git authenticate
diff --git a/etc/git/pre-push b/etc/git/pre-push
index 59671b0d583..325b23854bb 100755
--- a/etc/git/pre-push
+++ b/etc/git/pre-push
@@ -32,7 +32,9 @@ do
32 # Only use the hook when pushing to Savannah. 32 # Only use the hook when pushing to Savannah.
33 case "$2" in 33 case "$2" in
34 *.gnu.org*) 34 *.gnu.org*)
35 exec make authenticate check-channel-news 35 set -e
36 make check-channel-news
37 exec guix git authenticate
36 exit 127 38 exit 127
37 ;; 39 ;;
38 *) 40 *)