From: Pete Wyckoff Date: Sun, 25 Dec 2011 02:07:37 +0000 (-0500) Subject: git-p4: test --max-changes X-Git-Tag: v1.7.9-rc0~7^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;ds=sidebyside;h=7fbe1ce9e2050f1d3f64868abcbc0d0794af3d13;p=git.git git-p4: test --max-changes Signed-off-by: Pete Wyckoff Signed-off-by: Junio C Hamano --- diff --git a/t/t9806-git-p4-options.sh b/t/t9806-git-p4-options.sh index 67703267b..cc0fd26d3 100755 --- a/t/t9806-git-p4-options.sh +++ b/t/t9806-git-p4-options.sh @@ -83,6 +83,16 @@ test_expect_success 'clone/sync --import-local' ' ) ' +test_expect_success 'clone --max-changes' ' + "$GITP4" clone --dest="$git" --max-changes 2 //depot@all && + test_when_finished cleanup_git && + ( + cd "$git" && + git log --oneline refs/heads/master >lines && + test_line_count = 2 lines + ) +' + test_expect_success 'kill p4d' ' kill_p4d '