chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dgit: Abolish build_source_for_push
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index b3c95c7c52544ef9c2a75a71d78cd42dddb2851f..c3638216c4600d038b753c6eb336c6e83c9ece2b 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-4770,7
+4770,10
@@
sub cmd_push_source {
}
} else {
# Building a source package is very fast, so just do it
}
} else {
# Building a source package is very fast, so just do it
- build_source_for_push();
+ build_source();
+ die "er, patches are applied dirtily but shouldn't be.."
+ if $patches_applied_dirtily;
+ $changesfile = $sourcechanges;
}
dopush();
}
}
dopush();
}
@@
-6409,13
+6412,6
@@
sub cmd_gbp_build {
}
sub cmd_git_build { cmd_gbp_build(); } # compatibility with <= 1.0
}
sub cmd_git_build { cmd_gbp_build(); } # compatibility with <= 1.0
-sub build_source_for_push {
- build_source();
- die "er, patches are applied dirtily but shouldn't be.."
- if $patches_applied_dirtily;
- $changesfile = $sourcechanges;
-}
-
sub build_source {
build_prep_early();
build_prep();
sub build_source {
build_prep_early();
build_prep();