[pkg-perl-tools] 01/04: dpt-import-orig: don't explictly run `git fetch upstream-repo'.

gregor herrmann gregoa at debian.org
Sun Jul 24 15:11:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 1c7ddfb3edc880d1453b26ccda3ddc807ae07dd6
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jul 24 17:00:41 2016 +0200

    dpt-import-orig: don't explictly run `git fetch upstream-repo'.
    
    This is already handled by dpt-upstream-repo.
    
    Additionally call dpt-upstream-repo with '-u' to update the URL of the
    remote.
---
 scripts/import-orig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/scripts/import-orig b/scripts/import-orig
index 0850b56..0cb3b97 100755
--- a/scripts/import-orig
+++ b/scripts/import-orig
@@ -23,11 +23,7 @@ dh_testdir  || die "This doesn't look like a source package directory."
 DPT_RM_TARGZ=${DPT_RM_TARGZ:-''}
 
 # upstream-repo remote
-dpt upstream-repo
-if git remote show | grep -qx upstream-repo ; then
-	git fetch upstream-repo
-fi
-
+dpt upstream-repo -u
 gbp pull
 
 # uscan and versions

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list