Re: [GUILT v2 13/29] Check that "guilt header '.*'" fails.

2014-05-15 Thread Jeff Sipek
Signed-off-by: Josef 'Jeff' Sipek 

On Tue, May 13, 2014 at 10:30:49PM +0200, Per Cederqvist wrote:
> Signed-off-by: Per Cederqvist 
> ---
>  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 
>  
>  % 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
> 

-- 
Si hoc legere scis nimium eruditionis habes.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[GUILT v2 13/29] Check that "guilt header '.*'" fails.

2014-05-13 Thread Per Cederqvist
Signed-off-by: Per Cederqvist 
---
 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 
 
 % 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html