Re: [PATCH v2] sha1_file: do not add own object directory as alternate

2014-07-14 Thread Ephrim Khong
When adding alternate object directories, we try not to add the directory of the current repository to avoid cycles. Unfortunately, that test was broken, since it compared an absolute with a relative path. Signed-off-by: Ephrim Khong dr.kh...@gmail.com --- As proposed by Duy, v2 of the patch

Re: [PATCH v2] sha1_file: do not add own object directory as alternate

2014-07-14 Thread Johannes Sixt
Am 14.07.2014 14:53, schrieb Ephrim Khong: diff --git a/t/t7702-repack-cyclic-alternate.sh b/t/t7702-repack-cyclic-alternate.sh new file mode 100755 index 000..3771613 --- /dev/null +++ b/t/t7702-repack-cyclic-alternate.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# Copyright (c) 2014 Ephrim