summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-22 15:41:05 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-22 15:41:05 +0100
commitb9c9a1f4bc7a38ea789a3e5ae7c8a8b80d74689a (patch)
treea37c33ec43687af96157240f69b3e7a6508ed5bc
parent80ee450e6ef729adb0148a6cc741a479aee42d62 (diff)
fix new packagesdebian/0.5
-rwxr-xr-xdgit5
1 files changed, 3 insertions, 2 deletions
diff --git a/dgit b/dgit
index 7fd7f0d..8132b8f 100755
--- a/dgit
+++ b/dgit
@@ -915,8 +915,9 @@ sub cmd_push {
if (fetch_from_archive()) {
is_fast_fwd(lrref(), 'HEAD') or die;
} else {
- fail "package appears to be new in this suite;".
- " if this is intentional, use --new";
+ $new_package or
+ fail "package appears to be new in this suite;".
+ " if this is intentional, use --new";
}
dopush();
}