subtree(3p/cgit): merge cgit-pink into depot cgit
cgit-pink is a maintained fork of cgit that follows upstream git more closely and already contains a lot of patches we already had applied. Consequently, it seems sensible it becomes our future upstream, we may even be able to upstream some of our custom, less invasive patches. Change-Id: Ia081e4508866f32298986c7160f4890c8a7c8922
This commit is contained in:
commit
40803d9c6d
39 changed files with 185 additions and 1616 deletions
4
third_party/cgit/tests/t0106-diff.sh
vendored
4
third_party/cgit/tests/t0106-diff.sh
vendored
|
@ -9,11 +9,11 @@ test_expect_success 'find blob link' 'grep "<a href=./foo/tree/file-5?id=" tmp'
|
|||
test_expect_success 'find added file' 'grep "new file mode 100644" tmp'
|
||||
|
||||
test_expect_success 'find hunk header' '
|
||||
grep "<div class=.hunk.>@@ -0,0 +1 @@</div>" tmp
|
||||
grep "<span class=.hunk.>@@ -0,0 +1 @@</span>" tmp
|
||||
'
|
||||
|
||||
test_expect_success 'find added line' '
|
||||
grep "<div class=.add.>+5</div>" tmp
|
||||
grep "<span class=.add.>+5</span>" tmp
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue