chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a5c76
)
dgit: Break out @forbid in check_not_dirty
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Oct 2018 00:28:31 +0000
(
01:28
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Oct 2018 00:28:31 +0000
(
01:28
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index 3591231fba1ce27d8c1673f1a889ee0240d4c40e..5754e45676393f15294a16cbc27e79512b8017ec 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-3817,7
+3817,8
@@
sub pull () {
}
sub check_not_dirty () {
- foreach my $f (qw(local-options local-patch-header)) {
+ my @forbid = qw(local-options local-patch-header);
+ foreach my $f (@forbid) {
if (stat_exists "debian/source/$f") {
fail f_ "git tree contains debian/source/%s", $f;
}