Thread (6 messages) 6 messages, 4 authors, 2016-06-15

Re: [PATCH v4 6/6] Documentation: Describe 'submodule update' modes in detail

From: Philip Oakley <hidden>
Date: 2016-06-15 22:59:40

From: "Junio C Hamano" <redacted>
"W. Trevor King" [off-list ref] writes:
[...]
quoted
@@ -155,13 +155,31 @@ it contains local modifications.

 update::
 Update the registered submodules, i.e. clone missing submodules and
- checkout the commit specified in the index of the containing repository.
- This will make the submodules HEAD be detached unless `--rebase` or
- `--merge` is specified or the key `submodule.$name.update` is set to
- `rebase`, `merge` or `none`. `none` can be overridden by specifying
- `--checkout`. Setting the key `submodule.$name.update` to `!command`
- will cause `command` to be run. `command` can be any arbitrary shell
- command that takes a single argument, namely the sha1 to update to.
+ checkout the commit specified in the index of the containing
+ repository.  The update mode defaults to 'checkout', but be
nit:   s/but be/but can be/  ?
quoted
+ configured with the 'submodule.<name>.update' setting or the
+ '--rebase', '--merge', or 'checkout' options.
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help