summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e986ceb)
raw | patch | inline | side by side (parent: e986ceb)
author | Johannes Sixt <j6t@kdbg.org> | |
Fri, 6 Mar 2009 23:04:09 +0000 (00:04 +0100) | ||
committer | Johannes Sixt <j6t@kdbg.org> | |
Wed, 18 Mar 2009 19:35:01 +0000 (20:35 +0100) |
The tests do not depend on that the clones are hard-linked, but used
--local only as an optimization: At the time that --local was used first
in t9400 hard-linked clones were not the default, yet.
By removing --local, we help filesystems that do not support hard-links.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
--local only as an optimization: At the time that --local was used first
in t9400 hard-linked clones were not the default, yet.
By removing --local, we help filesystems that do not support hard-links.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
t/t9400-git-cvsserver-server.sh | patch | blob | history | |
t/t9401-git-cvsserver-crlf.sh | patch | blob | history |
index 6a37f71d11800f92a117bfdcf38172bfc9000d77..9ccb1232bbcc0fab80d4f2d4b1dfa15ed09f0757 100755 (executable)
git add secondrootfile &&
git commit -m "second root") &&
git pull secondroot master &&
- git clone -q --local --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
+ git clone -q --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
GIT_DIR="$SERVERDIR" git config --bool gitcvs.enabled true &&
GIT_DIR="$SERVERDIR" git config gitcvs.logfile "$SERVERDIR/gitcvs.log"
'
rm -fr "$SERVERDIR"
cd "$WORKDIR" &&
-git clone -q --local --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
+git clone -q --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
GIT_DIR="$SERVERDIR" git config --bool gitcvs.enabled true &&
GIT_DIR="$SERVERDIR" git config gitcvs.logfile "$SERVERDIR/gitcvs.log" ||
exit 1
index e27a1c5f85bbecac652ce8d224f8fc5e99b02a4e..5d6200c4dfa5b40cdbe4423c6091b75ad47c3039 100755 (executable)
echo "subdir/file.h crlf" >> .gitattributes &&
git add .gitattributes textfile.c binfile.bin mixedUp.c subdir/* &&
git commit -q -m "First Commit" &&
- git clone -q --local --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
+ git clone -q --bare "$WORKDIR/.git" "$SERVERDIR" >/dev/null 2>&1 &&
GIT_DIR="$SERVERDIR" git config --bool gitcvs.enabled true &&
GIT_DIR="$SERVERDIR" git config gitcvs.logfile "$SERVERDIR/gitcvs.log"
'