summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-shell-commands/fetch-mirrors13
-rwxr-xr-xgit-shell-commands/mirror10
-rwxr-xr-xgit-shell-commands/mirrors9
3 files changed, 0 insertions, 32 deletions
diff --git a/git-shell-commands/fetch-mirrors b/git-shell-commands/fetch-mirrors
deleted file mode 100755
index 6b7672d..0000000
--- a/git-shell-commands/fetch-mirrors
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# * fetch-mirrors
-# Update the created `mirrors` with `mirror`
-# ssh git@host fetch-mirrors
-
-set -e
-
-# Find all mirrors
-"$(dirname "$0")"/mirrors | while read -r mirror; do
- pushd "$mirror" >/dev/null
- git remote update
- popd >/dev/null
-done
diff --git a/git-shell-commands/mirror b/git-shell-commands/mirror
deleted file mode 100755
index 8d7a648..0000000
--- a/git-shell-commands/mirror
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# * mirror
-# Mirror the repository
-# ssh git@host mirror git://url/repo.git
-
-set -E
-
-for _m in "$@"; do
- git clone --mirror "$_m"
-done
diff --git a/git-shell-commands/mirrors b/git-shell-commands/mirrors
deleted file mode 100755
index 800fba8..0000000
--- a/git-shell-commands/mirrors
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# * mirrors
-# Show all mirrors repositories
-# ssh git@host mirrors
-
-set -e
-
-# Find all mirrors
-find $(find * -name '*.git' -type d) -maxdepth 1 -name config -exec grep -l 'mirror\s*=\s*true' {} + | sed 's,/config$,,'