Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t5516: correct misspelled pushInsteadOf
[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 c277db64f75ac9f9c0cd617262824d76959fbfbd..88ed3191e871cd9a164c3c903f69b07e7d9cf937 100755
(executable)
--- a/
t/t6006-rev-list-format.sh
+++ b/
t/t6006-rev-list-format.sh
@@
-468,4
+468,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