<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-submodule.txt, branch v1.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-06-30T23:12:35Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-06-30T23:12:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-30T23:12:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=725cf7b45da1f983fa1cbb0757b0e8855e5ac2de'/>
<id>urn:sha1:725cf7b45da1f983fa1cbb0757b0e8855e5ac2de</id>
<content type='text'>
* maint:
  attr: plug minor memory leak
  request-pull: really disable pager
  Makes some cleanup/review in gittutorial
  Makefile: git.o depends on library headers
  git-submodule documentation: fix foreach example
</content>
</entry>
<entry>
<title>git-submodule documentation: fix foreach example</title>
<updated>2009-06-30T18:17:54Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2009-06-28T12:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c3acfcd575cdd1bfc9981baf5782eb5cf433362'/>
<id>urn:sha1:1c3acfcd575cdd1bfc9981baf5782eb5cf433362</id>
<content type='text'>
Backtick and apostrophe are asciidoc markup, so they should be escaped
in order to get the expected result in the rendered manual page.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ph/submodule-rebase'</title>
<updated>2009-06-21T04:51:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-21T04:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a49eb197d809d2d7efbd81d935c61e1a0caa983e'/>
<id>urn:sha1:a49eb197d809d2d7efbd81d935c61e1a0caa983e</id>
<content type='text'>
* ph/submodule-rebase:
  git-submodule: add support for --merge.

Conflicts:
	Documentation/git-submodule.txt
	git-submodule.sh
</content>
</entry>
<entry>
<title>Merge branch 'ph/submodule-rebase' (early part)</title>
<updated>2009-06-13T19:49:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7d40f89137b456820d51ebc1cbb3ffbb966e7fec'/>
<id>urn:sha1:7d40f89137b456820d51ebc1cbb3ffbb966e7fec</id>
<content type='text'>
* 'ph/submodule-rebase' (early part):
  Rename submodule.&lt;name&gt;.rebase to submodule.&lt;name&gt;.update
  git-submodule: add support for --rebase.

Conflicts:
	Documentation/git-submodule.txt
	git-submodule.sh
</content>
</entry>
<entry>
<title>git-submodule: add support for --merge.</title>
<updated>2009-06-03T07:09:16Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-06-02T22:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=42b491786260eb17d97ea9fb1c4b70075bca9523'/>
<id>urn:sha1:42b491786260eb17d97ea9fb1c4b70075bca9523</id>
<content type='text'>
'git submodule update --merge' merges the commit referenced by the
superproject into your local branch, instead of checking it out on
a detached HEAD.

As evidenced by the addition of "git submodule update --rebase", it
is useful to provide alternatives to the default 'checkout' behaviour
of "git submodule update". One such alternative is, when updating a
submodule to a new commit, to merge that commit into the current
local branch in that submodule. This is useful in workflows where
you want to update your submodule from its upstream, but you cannot
use --rebase, because you have downstream people working on top of
your submodule branch, and you don't want to disrupt their work.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Rename submodule.&lt;name&gt;.rebase to submodule.&lt;name&gt;.update</title>
<updated>2009-06-03T07:04:52Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-06-03T06:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=329484256e0fe42676e93669122e7a5a007ef4ed'/>
<id>urn:sha1:329484256e0fe42676e93669122e7a5a007ef4ed</id>
<content type='text'>
The addition of "submodule.&lt;name&gt;.rebase" demonstrates the usefulness of
alternatives to the default behaviour of "git submodule update". However,
by naming the config variable "submodule.&lt;name&gt;.rebase", and making it a
boolean choice, we are artificially constraining future git versions that
may want to add _more_ alternatives than just "rebase".

Therefore, while "submodule.&lt;name&gt;.rebase" is not yet in a stable git
release, future-proof it, by changing it from

  submodule.&lt;name&gt;.rebase = true/false

to

  submodule.&lt;name&gt;.update = rebase/checkout

where "checkout" specifies the default behaviour of "git submodule update"
(checking out the new commit to a detached HEAD), and "rebase" specifies
the --rebase behaviour (where the current local branch in the submodule is
rebase onto the new commit). Thus .update == checkout is equivalent to
.rebase == false, and .update == rebase is equivalent to .rebase == true.
Finally, leaving .update unset is equivalent to leaving .rebase unset.

In future git versions, other alternatives to "git submodule update"
behaviour can be included by adding them to the list of allowable values
for the submodule.&lt;name&gt;.update variable.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add --reference option to git submodule.</title>
<updated>2009-05-09T15:27:52Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2009-05-04T19:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d92a39590d1126e195f1bbccf182a2cdb79218e7'/>
<id>urn:sha1:d92a39590d1126e195f1bbccf182a2cdb79218e7</id>
<content type='text'>
This adds --reference option to git submodule add and
git submodule update commands, which is passed to git clone.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-submodule: add support for --rebase.</title>
<updated>2009-04-24T08:20:25Z</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2009-04-23T23:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca2cedba70e9356a1a20b0e39acd07ab92fee80e'/>
<id>urn:sha1:ca2cedba70e9356a1a20b0e39acd07ab92fee80e</id>
<content type='text'>
'git submodule update --rebase' rebases your local branch on top of what
would have been checked out to a detached HEAD otherwise.

In some cases, detaching the HEAD when updating a submodule complicates
the workflow to commit to this submodule (checkout master, rebase, then
commit).  For submodules that require frequent updates but infrequent
(if any) commits, a rebase can be executed directly by the git-submodule
command, ensuring that the submodules stay on their respective branches.

git-config key: submodule.$name.rebase (bool)

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule: add --no-fetch parameter to update command</title>
<updated>2009-02-07T08:44:49Z</updated>
<author>
<name>Fabian Franz</name>
<email>git@fabian-franz.de</email>
</author>
<published>2009-02-05T22:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31ca3ac30fe3c2583881a74ef346911c8fba478f'/>
<id>urn:sha1:31ca3ac30fe3c2583881a74ef346911c8fba478f</id>
<content type='text'>
git submodule update --no-fetch makes it possible to use git submodule
update in complete offline mode by not fetching new revisions.

This does make sense in the following setup:

* There is an unstable and a stable branch in the super/master repository.
* The submodules might be at different revisions in the branches.
* You are at some place without internet connection ;)

With this patch it is now possible to change branches and update
the submodules to be at the recorded revision without online access.

Another advantage is that with -N the update operation is faster, because fetch is checking for new updates even if there was no fetch/pull on the super/master repository since the last update.

Signed-off-by: Fabian Franz &lt;git@fabian-franz.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint' to sync with GIT 1.6.0.6</title>
<updated>2008-12-20T03:35:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-12-20T03:32:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=efe05b019ca19328d27c07ef32b4698a7f36166f'/>
<id>urn:sha1:efe05b019ca19328d27c07ef32b4698a7f36166f</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
