repo.or.cz
/
git
/
dkf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] Enhance sha1_file_size() into sha1_object_info()
[git/dkf.git]
/
git-clone-script
blob
654f66dcc236006709e59214cc55d64c69c33993
1
#!/bin/sh
2
repo
=
"
$1
"
3
dir
=
"
$2
"
4
mkdir
$dir
||
exit
1
5
cd
$dir
6
git-init-db
7
git fetch
"
$repo
"
&& (
git-rev-parse FETCH_HEAD
>
.git
/
HEAD
)