1 |
commit: d9d782110a25eeed271169a2f35ef6ee294452c8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 13:17:45 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 29 10:03:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d78211 |
7 |
|
8 |
git-r3.eclass: Improve the comments a bit |
9 |
|
10 |
eclass/git-r3.eclass | 8 ++++---- |
11 |
1 file changed, 4 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass |
14 |
index 79aa844..2a60967 100644 |
15 |
--- a/eclass/git-r3.eclass |
16 |
+++ b/eclass/git-r3.eclass |
17 |
@@ -585,7 +585,7 @@ git-r3_fetch() { |
18 |
# regular branch |
19 |
fetch_l=${remote_ref} |
20 |
else |
21 |
- # tag or commit... |
22 |
+ # tag or commit id... |
23 |
# let ls-remote figure it out |
24 |
local tagref=$(git ls-remote "${r}" "refs/tags/${remote_ref}") |
25 |
|
26 |
@@ -594,8 +594,8 @@ git-r3_fetch() { |
27 |
# tag |
28 |
fetch_l=refs/tags/${remote_ref} |
29 |
else |
30 |
- # commit |
31 |
- # so we need to fetch the branch |
32 |
+ # commit id |
33 |
+ # so we need to fetch the whole branch |
34 |
if [[ ${branch} ]]; then |
35 |
fetch_l=${branch} |
36 |
else |
37 |
@@ -697,7 +697,7 @@ git-r3_fetch() { |
38 |
[[ ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI" |
39 |
|
40 |
# submodules can reference commits in any branch |
41 |
- # always use the 'clone' mode to accomodate that, bug #503332 |
42 |
+ # always use the 'mirror' mode to accomodate that, bug #503332 |
43 |
local EGIT_CLONE_TYPE=mirror |
44 |
|
45 |
# recursively fetch submodules |