chiark / gitweb /
dgit: clean: Prepare cleanmode_re for suffixes on git and git-ff
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 37d38618572b90ce5514941021ff00355059dc48..9b107c269b21f1394e93a113af4365583dbd7b97 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -102,7 +102,7 @@ our %format_ok = map { $_=>1 } ("1.0","3.0 (native)","3.0 (quilt)");
 
 our $suite_re = '[-+.0-9a-z]+';
 our $cleanmode_re = qr{(?: dpkg-source (?: -d )? (?: ,no-check | ,all-check )?
-                         | git | git-ff
+                     | (?: git | git-ff )
                          | check (?: ,ignores )?
                          | none
                          )}x;