mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
topdir.mk: Add target git-ssh-%
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1d0d09d11c
commit
853d401d62
1 changed files with 3 additions and 2 deletions
|
|
@ -164,5 +164,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|'`"
|
||||
git-ssh-%:
|
||||
bash -c "`git remote get-url --push $* | sed 's|ssh://||; s|\([^/]\+\)/\(.*\)|LC_CDPATH=/\2 ssh -o SendEnv=LC_CDPATH \1|'`"
|
||||
git-ssh: git-ssh-origin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue