From 61aa4378441859ed2851db01d5d1b01ed1aa2458 Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Sat, 15 Aug 2026 22:17:12 +0700 Subject: diff: pick refs from web ui Beforehand the choice between two refs in diff could not be changed from web ui (only via url query), and by default it was current and previous commit. Now it is doable with dropdown menus. --- tests/t0106-diff.sh | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'tests/t0106-diff.sh') diff --git a/tests/t0106-diff.sh b/tests/t0106-diff.sh index 82b645e..0c167d4 100755 --- a/tests/t0106-diff.sh +++ b/tests/t0106-diff.sh @@ -16,4 +16,60 @@ test_expect_success 'find added line' ' grep "
+5
" tmp ' +test_expect_success 'ref picker: from: select present' ' + grep "tmp +' + +test_expect_success 'diff with HEAD and root shows content' ' + grep "diffstat" tmp +' + test_done -- cgit v1.3.1+13