From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 86C5B13881D for ; Sat, 26 Sep 2015 13:30:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8137E21C0D5; Sat, 26 Sep 2015 13:29:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E399E21C0B1 for ; Sat, 26 Sep 2015 13:29:09 +0000 (UTC) Received: from pomiot.local (77-253-137-92.adsl.inetia.pl [77.253.137.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 2AC94340B9B; Sat, 26 Sep 2015 13:29:06 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 1/3] git-r3.eclass: Improve the comments a bit Date: Sat, 26 Sep 2015 15:28:57 +0200 Message-Id: <1443274139-3860-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1443274139-3860-1-git-send-email-mgorny@gentoo.org> References: <1443274139-3860-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 02400f65-899e-4640-962f-2f4b8926a179 X-Archives-Hash: 3363a1e7bc5c28eae2e4744a56aaa88c --- eclass/git-r3.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 0ee70bc..9bc385e 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -585,7 +585,7 @@ git-r3_fetch() { # regular branch fetch_l=${remote_ref} else - # tag or commit... + # tag or commit id... # let ls-remote figure it out local tagref=$(git ls-remote "${r}" "refs/tags/${remote_ref}") @@ -594,8 +594,8 @@ git-r3_fetch() { # tag fetch_l=refs/tags/${remote_ref} else - # commit - # so we need to fetch the branch + # commit id + # so we need to fetch the whole branch if [[ ${branch} ]]; then fetch_l=${branch} else @@ -697,7 +697,7 @@ git-r3_fetch() { [[ ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI" # submodules can reference commits in any branch - # always use the 'clone' mode to accomodate that, bug #503332 + # always use the 'mirror' mode to accomodate that, bug #503332 local EGIT_CLONE_TYPE=mirror # recursively fetch submodules -- 2.5.3