Re: [PATCH] Fix checkout of large files to network shares under Windows XP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Sixt
Date: Friday, April 30, 2010 - 1:46 am

Am 4/29/2010 22:01, schrieb René Scharfe:

Thanks, I have verified that this fixes the problem in my setup as well.
I'll queue the patch with the below test case squashed in.

-- Hannes

diff --git a/t/t5705-clone-2gb.sh b/t/t5705-clone-2gb.sh
index adfaae8..8afbdd4 100755
--- a/t/t5705-clone-2gb.sh
+++ b/t/t5705-clone-2gb.sh
@@ -12,7 +12,7 @@ test_expect_success 'setup' '

 	git config pack.compression 0 &&
 	git config pack.depth 0 &&
-	blobsize=$((20*1024*1024)) &&
+	blobsize=$((100*1024*1024)) &&
 	blobcount=$((2*1024*1024*1024/$blobsize+1)) &&
 	i=1 &&
 	(while test $i -le $blobcount
@@ -36,9 +36,15 @@ test_expect_success 'setup' '

 '

-test_expect_success 'clone' '
+test_expect_success 'clone - bare' '

-	git clone --bare --no-hardlinks . clone
+	git clone --bare --no-hardlinks . clone-bare
+
+'
+
+test_expect_success 'clone - with worktree, file:// protocol' '
+
+	git clone file://. clone-wt

 '

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix checkout of large files to network shares unde ..., Sebastian Schuberth, (Mon Apr 19, 5:45 am)
Re: [PATCH] Fix checkout of large files to network shares ..., Johannes Schindelin, (Tue Apr 20, 2:15 am)
Re: [PATCH] Fix checkout of large files to network shares ..., Sebastian Schuberth, (Tue Apr 20, 5:42 am)
Re: [PATCH] Fix checkout of large files to network shares ..., Sebastian Schuberth, (Tue Apr 20, 7:21 am)
Re: [PATCH] Fix checkout of large files to network shares ..., Johannes Sixt, (Fri Apr 30, 1:46 am)
Re: [PATCH] Fix checkout of large files to network shares ..., Sebastian Schuberth, (Fri Apr 30, 2:08 am)