For consistency with git-format-patch(1).
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
'
test_expect_success 'find `cgit` signature' '
- tail -1 tmp | grep "^cgit"
+ tail -2 tmp | head -1 | grep "^cgit"
'
test_expect_success 'find initial commit' '
'
test_expect_success 'find `cgit` signature' '
- tail -1 tmp | grep "^cgit"
+ tail -2 tmp | head -1 | grep "^cgit"
'
test_done
while ((commit = get_revision(&rev)) != NULL) {
log_tree_commit(&rev, commit);
- printf("-- \ncgit %s\n", cgit_version);
+ printf("-- \ncgit %s\n\n", cgit_version);
}
}