repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
GIT 1.5.5.5
[git/debian.git]
/
t
/
t5601-clone.sh
blob
dc9d63dbf9d21482c881606152f10594f2fe124f
1
#!/bin/sh
2
3
test_description
=
clone
4
5
. .
/
test-lib.sh
6
7
test_expect_success setup
'
8
9
rm -fr .git &&
10
test_create_repo src &&
11
(
12
cd src
13
>file
14
git add file
15
git commit -m initial
16
)
17
18
'
19
20
test_expect_success
'clone with excess parameters'
'
21
22
test_must_fail git clone -n "file://$(pwd)/src" dst junk
23
24
'
25
26
test_done