From: Fabian Emmes <fabian.emmes@xxxxxxxxxxxxxx> Check that req_update shows refs, even if all refs are packed. Signed-off-by: Fabian Emmes <fabian.emmes@xxxxxxxxxxxxxx> Signed-off-by: Lars Noschinski <lars@xxxxxxxxxxxxxxxxxxxx> --- t/t9400-git-cvsserver-server.sh | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index e97aaa6..d181b5b 100755 --- a/t/t9400-git-cvsserver-server.sh +++ b/t/t9400-git-cvsserver-server.sh @@ -438,6 +438,20 @@ test_expect_success 'cvs update (-p)' ' test -z "$(cat failures)" ' +cd "$WORKDIR" +cat > get_update_modules <<EOF +Root $SERVERDIR +Directory . +$SERVERDIR +update +EOF + +test_expect_success 'cvs update (module list supports packed refs)' ' + git pack-refs --all && + git cvsserver server < get_update_modules > out && + grep "^M master[ ]\+master$" < out +' + #------------ # CVS STATUS #------------ -- 1.5.6.2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html