Skip to content

Commit

Permalink
git-r3.eclass: Improve the comments a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Nov 29, 2015
1 parent 6c9f508 commit d9d7821
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eclass/git-r3.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d9d7821

Please sign in to comment.