From: Jeff Sipek Date: Thu, 15 May 2014 22:47:49 GMT Subject: Re: [GUILT v2 13/29] Check that "guilt header '.*'" fails. Message-ID: <20140515224749.GB1334@meili.valhalla.31bits.net> In-Reply-To: <1400013065-27919-14-git-send-email-cederp@opera.com> 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.