Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/hashcmp-memcmp' into next
[gitweb.git]
/
t
/
t7301-clean-interactive.sh
diff --git
a/t/t7301-clean-interactive.sh
b/t/t7301-clean-interactive.sh
index 3ae394e934d972d29286ecd25596eedd45bee902..556e1850e2b20c3f484ee43a975e5dcca8eac99e 100755
(executable)
--- a/
t/t7301-clean-interactive.sh
+++ b/
t/t7301-clean-interactive.sh
@@
-472,4
+472,14
@@
test_expect_success 'git clean -id with prefix and path (ask)' '
'
+test_expect_success 'git clean -i paints the header in HEADER color' '
+ >a.out &&
+ echo q |
+ git -c color.ui=always clean -i |
+ test_decode_color |
+ head -n 1 >header &&
+ # not i18ngrep
+ grep "^<BOLD>" header
+'
+
test_done