Revision 3d5f390525affd5bd4182cf0ea04455ac98058a1 authored by Jean-Noel Avila on 17 February 2017, 23:10:04 UTC, committed by Jean-Noel Avila on 17 February 2017, 23:12:26 UTC
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
1 parent a4d9483
t8001-annotate.sh
#!/bin/sh
test_description='git annotate'
. ./test-lib.sh
PROG='git annotate'
. "$TEST_DIRECTORY"/annotate-tests.sh
test_expect_success 'annotate old revision' '
git annotate file master >actual &&
awk "{ print \$3; }" <actual >authors &&
test 2 = $(grep A <authors | wc -l) &&
test 2 = $(grep B <authors | wc -l)
'
test_done
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...