Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
move "%G" format test from t7510 to t6006
[gitweb.git]
/
t
/
t6006-rev-list-format.sh
diff --git
a/t/t6006-rev-list-format.sh
b/t/t6006-rev-list-format.sh
index 9d9d9de08e1926525c24fc01c1217a96964fa1ee..9ab20ee09d60f2c6c8deae9f34ab21c557e6d9b6 100755
(executable)
--- a/
t/t6006-rev-list-format.sh
+++ b/
t/t6006-rev-list-format.sh
@@
-394,4
+394,10
@@
test_expect_success 'single-character name is parsed correctly' '
test_cmp expect actual
'
+test_expect_success 'unused %G placeholders are passed through' '
+ echo "%GX %G" >expect &&
+ git log -1 --format="%GX %G" >actual &&
+ test_cmp expect actual
+'
+
test_done