diff: use blob path for blob/file diffs
[gitweb.git] / t / t4202-log.sh
index f577990716011cfbc9a1b605aa5f23fe0d660c56..6da1bbe9122e71a79658495c9ace61441071080c 100755 (executable)
@@ -1380,4 +1380,13 @@ test_expect_success 'log --source paints tag names' '
        test_cmp expect actual
 '
 
+test_expect_success 'log --source paints symmetric ranges' '
+       cat >expect <<-\EOF &&
+       09e12a9 source-b three
+       8e393e1 source-a two
+       EOF
+       git log --oneline --source source-a...source-b >actual &&
+       test_cmp expect actual
+'
+
 test_done