Documentation, git submodule: Note about --reference
PATCH 1/1 Documentation, git submodule: Note about --reference
---
Is it too obvious?
I was approached off list and this was only obvious after some discussion, so I think it is a valid warning.
On the other hand this might show that we want to get worktree working with submodules.
Documentation/git-submodule.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/git-submodule.txt +4 -0
@@ -373,6 +373,10 @@ the submodule itself. + *NOTE*: Do *not* use this option unless you have read the note for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully. ++ +*NOTE*: This gives the same reference to all submodules, so it is only useful +if you are tracking different versions of a project in submodules instead +of different projects. --recursive:: This option is only valid for foreach, update, status and sync commands.
Signature · 1 line
2.9.2.800.g213104a
Quoted 2 lines · Stefan Beller
Signed-off-by Stefan Beller <[email protected]>---
Any comment here?
Quoted 29 lines
Is it too obvious?
I was approached off list and this was only obvious after some discussion, so I think it is a valid warning.On the other hand this might show that we want to get worktree working with submodules.
Documentation/git-submodule.txt | 4 ++++ 1 file changed, 4 insertions(+)Documentation/git-submodule.txt +4
-1@@ -373,6 +373,10 @@ the submodule itself. + *NOTE*: Do *not* use this option unless you have read the note for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully. ++ +*NOTE*: This gives the same reference to all submodules, so it is only useful +if you are tracking different versions of a project in submodules instead +of different projects. --recursive:: This option is only valid for foreach, update, status and sync commands. --2.9.2.800.g213104a
Quoted 5 lines · Stefan Beller
Quoted 2 lines · Stefan Beller
Signed-off-by Stefan Beller <[email protected]>---
Any comment here?
I personally found it Meh in the sense that those who read and followed the previous note would find it adding no new information, and to those who don't bother the additional note would not help very much because they would not understand (and more importantly, would not care) where that "this affects ALL submodules" comes from, or why that leads to "so it is only useful...".
But it may be just me.
Quoted 15 lines · Junio C Hamano
Quoted 5 lines · Stefan Beller
Quoted 2 lines · Stefan Beller
Signed-off-by Stefan Beller <[email protected]>---
Any comment here?
I personally found it Meh in the sense that those who read and followed the previous note would find it adding no new information, and to those who don't bother the additional note would not help very much because they would not understand (and more importantly, would not care) where that "this affects ALL submodules" comes from, or why that leads to "so it is only useful...".
Quoted 1 line
But it may be just me.
Ok, I guess we can just drop it then.
Thanks,
Stefan