diff --git a/make/topdir.mk b/make/topdir.mk index e120fb18..80f12ba8 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -163,3 +163,6 @@ list-files echo-files: list-text-files echo-text-files: @$(LIST_VCS_FILES) -ft + +git-ssh: + bash -c "`git remote get-url --push origin | sed 's|ssh://||; s|\([^/]\+\)/\(.*\)|LC_CDPATH=/\2 ssh -o SendEnv=LC_CDPATH \1|'`"