Signed-off-by: Per Cederqvist <redacted>
---
regression/t-028.out | 7 +++++++
regression/t-028.sh | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/regression/t-028.out b/regression/t-028.out
index 1564c09..ea72a3a 100644
--- a/regression/t-028.out
+++ b/regression/t-028.out
@@ -49,3 +49,10 @@ Signed-off-by: Commiter Name <commiter@email>
% guilt header non-existant
Patch non-existant is not in the series
+% guilt header .*
+.* does not uniquely identify a patch. Did you mean any of these?
+ modify
+ add
+ remove
+ mode
+ patch-with-some-desc
diff --git a/regression/t-028.sh b/regression/t-028.sh
index 88e9adb..2ce0378 100755
--- a/regression/t-028.sh
+++ b/regression/t-028.sh
@@ -31,4 +31,8 @@ done
shouldfail guilt header non-existant
+# This is an evil variant of a non-existant patch. However, this
+# patch name is a regexp that just happens to match an existing patch.
+shouldfail guilt header '.*'
+
# FIXME: how do we check that -e works?
--
1.8.3.1