[pkg-perl-tools] 02/05: update comments
gregor herrmann
gregoa at debian.org
Tue Jun 28 08:46:23 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 b2b04f3d3413e01d7af4b6d74072c94ddd038781
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Jun 28 10:25:40 2016 +0200
update comments
Git-Dch: ignore
---
scripts/upstream-repo | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/upstream-repo b/scripts/upstream-repo
index 4a499ed..7b1431b 100755
--- a/scripts/upstream-repo
+++ b/scripts/upstream-repo
@@ -17,7 +17,7 @@ warn() {
CREATE=1
# command line arguments
-# -g don't call git add/commit for debian/upstream/metadata
+# -g don't create debian/upstream/metadata
# to be used from .mrconfig
while getopts g OPTS; do
case "$OPTS" in
@@ -42,7 +42,7 @@ if ! git remote show | grep -qx upstream-repo ; then
# XXX this does not work for https://foo.git URLs.
REPO=$(perl -MDebian::Copyright -E '$c = Debian::Copyright->new(); $c->read("debian/copyright"); say $c->header()->Source' | grep -oE "git(?:+ssh)?:.+$" || true)
- # case 2: Repository in d/upstream
+ # case 2: Repository in d/upstream/metadata
if [ -z "$REPO" -a ! -e debian/upstream/metadata -a "$CREATE" -eq "1" ] ; then
warn "No 'debian/upstream/metadata' file found, trying to create it ..."
dpt debian-upstream || true
--
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