diff options
| author | Victor Vieux <victor.vieux@docker.com> | 2014-02-26 20:15:21 +0000 |
|---|---|---|
| committer | Victor Vieux <victor.vieux@docker.com> | 2014-02-26 20:15:21 +0000 |
| commit | e68dcc55ba114627d521d15c19a1fcce61bd8de2 (patch) | |
| tree | 567e0e845bc0eba2b5223f3074116a372cb59741 /utils | |
| parent | bde192bb80079ad89057a6df5ce676c5b3429901 (diff) | |
| download | docker-move_git_clone_client_side.tar.gz | |
move git clone from daemon to clientmove_git_clone_client_side
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go index f24e17c38e..43d4dc77fc 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -685,7 +685,7 @@ func IsURL(str string) bool { } func IsGIT(str string) bool { - return strings.HasPrefix(str, "git://") || strings.HasPrefix(str, "github.com/") + return strings.HasPrefix(str, "git://") || strings.HasPrefix(str, "github.com/") || strings.HasPrefix(str, "git@github.com:") } // GetResolvConf opens and read the content of /etc/resolv.conf. |
