summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-mirror/gitlab-ssh-wrapper')
-rwxr-xr-xgitlab-mirror/gitlab-ssh-wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab-mirror/gitlab-ssh-wrapper b/gitlab-mirror/gitlab-ssh-wrapper
new file mode 100755
index 0000000..5f4c1fc
--- /dev/null
+++ b/gitlab-mirror/gitlab-ssh-wrapper
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Use via GIT_SSH
+
+exec ssh ${GIT_SSH_KEY:+-i} ${GIT_SSH_KEY} "$@"