added test comparing output between git log --count HEAD and git rev-list --count HEAD Signed-off-by: Lawrence Siebert <lawrencesiebert@xxxxxxxxx> --- t/t4202-log.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 1b2e981..077952b 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -871,4 +871,11 @@ test_expect_success 'log --graph --no-walk is forbidden' ' test_must_fail git log --graph --no-walk ' +test_expect_success 'log --count' ' + git log --count HEAD > actual && + git rev-list --count HEAD > expect && + test_cmp expect actual +' + + test_done -- 1.9.1 -- 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