• Home
  • Raw
  • Download

Lines Matching full:git

25     getResolved = require('../../lib/cache/add-remote-git.js').getResolved
30 test('add-remote-git#get-resolved git: passthru', function (t) {
31 verify('git:github.com/foo/repo')
32 verify('git:github.com/foo/repo.git')
33 verify('git://github.com/foo/repo#decadacefadabade')
34 verify('git://github.com/foo/repo.git#decadacefadabade')
39 'git://github.com/foo/repo.git#decadacefadabade',
40 uri + ' normalized to canonical form git://github.com/foo/repo.git#decadacefadabade'
46 test('add-remote-git#get-resolved SSH', function (t) {
48 verify('git+ssh://git@github.com:foo/repo')
49 verify('git+ssh://git@github.com:foo/repo#master')
50 verify('git+ssh://git@github.com/foo/repo#master')
51 verify('git+ssh://git@github.com/foo/repo#decadacefadabade')
56 'git+ssh://git@github.com/foo/repo.git#decadacefadabade',
57 uri + ' normalized to canonical form git+ssh://git@github.com/foo/repo.git#decadacefadabade'
63 test('add-remote-git#get-resolved HTTPS', function (t) {
66 verify('git+https://github.com/foo/repo.git#master')
67 verify('git+https://github.com/foo/repo#decadacefadabade')
73 verify('git+https://github.com:foo/repo.git#master')
78 'git+https://github.com/foo/repo.git#decadacefadabade',
79 uri + ' normalized to canonical form git+https://github.com/foo/repo.git#decadacefadabade'
85 test('add-remote-git#get-resolved edge cases', function (t) {
87 tryGetResolved('git+ssh://user@bananaboat.com:galbi/blah.git', 'decadacefadabade'),
88 'git+ssh://user@bananaboat.com:galbi/blah.git#decadacefadabade',
93 tryGetResolved('git+ssh://bananaboat:galbi/blah', 'decadacefadabade'),
94 'git+ssh://bananaboat:galbi/blah#decadacefadabade',
99 // When we were normalizing all git URIs, git+https: was being
105 tryGetResolved('git+https://bananaboat:galbi/blah', 'decadacefadabade'),
106 'git+https://bananaboat/galbi/blah#decadacefadabade',
111 tryGetResolved('git+ssh://git.bananaboat.net/foo', 'decadacefadabade'),
112 'git+ssh://git.bananaboat.net/foo#decadacefadabade',
117 tryGetResolved('git+ssh://git.bananaboat.net:/foo', 'decadacefadabade'),
118 'git+ssh://git.bananaboat.net:/foo#decadacefadabade',
123 tryGetResolved('git://gitbub.com/foo/bar.git', 'decadacefadabade'),
124 'git://gitbub.com/foo/bar.git#decadacefadabade',
125 'don\'t break non-hosted git: URLs'