summaryrefslogtreecommitdiff
path: root/etc/git
diff options
context:
space:
mode:
Diffstat (limited to 'etc/git')
-rwxr-xr-xetc/git/pre-push5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/git/pre-push b/etc/git/pre-push
index 64d6903ae46..c22dd064211 100755
--- a/etc/git/pre-push
+++ b/etc/git/pre-push
@@ -38,7 +38,10 @@ do
38 38
39 # Only use the hook when pushing to upstream. 39 # Only use the hook when pushing to upstream.
40 case "$2" in 40 case "$2" in
41 *.gnu.org*) ;& 41 *.gnu.org*)
42 echo "adjust remote: repo was migrated to codeberg"
43 exit 127
44 ;;
42 *codeberg.org/guix/*) 45 *codeberg.org/guix/*)
43 set -e 46 set -e
44 guix git authenticate 47 guix git authenticate