Skip to content

Commit 3f24c05

Browse files
marc-hbkv2019i
authored andcommitted
.gitmodules: add comments about relative URL. No change.
Answering a question from @ceolin and others before him. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 3c39c2c commit 3f24c05

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.gitmodules

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
[submodule "rimage"]
22
path = rimage
3+
# This is a _relative_ submodule URL. In some use cases it's better than
4+
# an _absolute_ submodule URL, in other cases it's not. One size does
5+
# unfortunately not fit all.
6+
#
7+
# Among other pages, http://blog.tremily.us/posts/Relative_submodules/
8+
# has a good comparison
9+
#
10+
# If you use Zephyr you must also look at the comments in sof/west.yml.
11+
#
12+
# If you want to fork or mirror sof.git _without_ doing the same for
13+
# rimage.git then your automation may want you to change and git commit
14+
# an absolute URL in your branch. No need to git commit for interactive
15+
# use; a local and temporary edit of this file is enough for interactive
16+
# use because .gitmodules is used only once to --init[ialize]
17+
# .git/config the first time. Then .gitmodules is never used again after
18+
# cloning.
319
url = ../rimage

0 commit comments

Comments
 (0)