3 # This script initializes /.git from msysgit.git on repo.or.cz
8 git config core.autocrlf false
&&
9 git remote add
-f origin \
10 mob@repo.or.cz
:/srv
/git
/git
/mingw
/4msysgit.git
&&
11 if test ! -f /etc
/full-git-sha1 ||
12 ! git
reset $
(cat /etc
/full-git-sha1
)
15 git commit
-m "Current revision"
25 git config core.autocrlf false
&&
26 git remote add
-f origin mob@repo.or.cz
:/srv
/git
/msysgit.git
&&
27 if test ! -f /etc
/full-msysgit-sha1 ||
28 ! git
reset $
(cat /etc
/full-msysgit-sha1
)
30 git ls-files
--other --exclude-standard $
(sed -n \
31 -e 's/^path = /--exclude=/p' < .gitmodules
) -z |
32 git update-index
--add -z --stdin &&
33 git commit
-m "Current revision"