about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorLars Hjemli2008-05-18 21:21:32 +0200
committerLars Hjemli2008-05-18 21:33:30 +0200
commit8907f2a03195abec409540ab11293fe748468413 (patch)
tree98b8d269408f6ffcda3a2ebfa6c709565e0f1c2a /tests
parentui-commit: handle root commits (diff)
downloadcgit-8907f2a03195abec409540ab11293fe748468413.tar.gz
cgit-8907f2a03195abec409540ab11293fe748468413.zip
Include commit-id in link from diff-stat
This fixes a regression created by fe1230dece81450004d02fa8a470f8dab8f7fdd9,
and modifies a test to avoid future regressions.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0105-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh index 4e1236b..a864612 100755 --- a/tests/t0105-commit.sh +++ b/tests/t0105-commit.sh
@@ -26,7 +26,7 @@ run_test 'get root commit' '
26' 26'
27 27
28run_test 'root commit contains diffstat' ' 28run_test 'root commit contains diffstat' '
29 grep "<a href=./foo/diff/file-1.>file-1</a>" trash/tmp 29 grep "<a href=./foo/diff/file-1.id=[0-9a-f]\{40\}.>file-1</a>" trash/tmp
30' 30'
31 31
32run_test 'root commit contains diff' ' 32run_test 'root commit contains diff' '