<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-submodule.sh, branch v1.6.4.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.4.3</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.4.3'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-07-02T02:40:50Z</updated>
<entry>
<title>Merge branch 'sb/quiet-porcelains'</title>
<updated>2009-07-02T02:40:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-02T02:40:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e6c7c2cc9766434607b8da5db872e7881a043925'/>
<id>urn:sha1:e6c7c2cc9766434607b8da5db872e7881a043925</id>
<content type='text'>
* sb/quiet-porcelains:
  stash: teach quiet option
  am, rebase: teach quiet option
  submodule, repack: migrate to git-sh-setup's say()
  git-sh-setup: introduce say() for quiet options
  am: suppress apply errors when using 3-way
  t4150: test applying with a newline in subject
</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://www.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>submodule, repack: migrate to git-sh-setup's say()</title>
<updated>2009-06-18T16:50:37Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2009-06-16T22:33:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2e6a30ef8fbaedc5f2ee199d36f7256bb0cfdf1e'/>
<id>urn:sha1:2e6a30ef8fbaedc5f2ee199d36f7256bb0cfdf1e</id>
<content type='text'>
Now that there is say() in git-sh-setup, these scripts don't need to use
their own. Migrate them over by setting GIT_QUIET and removing their
custom say() functions.

Signed-off-by: Stephen Boyd &lt;bebarino@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</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://www.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://www.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://www.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://www.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://www.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>Work around ash "alternate value" expansion bug</title>
<updated>2009-04-19T04:37:46Z</updated>
<author>
<name>Ben Jackson</name>
<email>ben@ben.com</email>
</author>
<published>2009-04-19T03:42:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ea10b60c910e4a23483f47f17becc5e58f07ebe9'/>
<id>urn:sha1:ea10b60c910e4a23483f47f17becc5e58f07ebe9</id>
<content type='text'>
Ash (used as /bin/sh on many distros) has a shell expansion bug
for the form ${var:+word word}.  The result is a single argument
"word word".  Work around by using ${var:+word} ${var:+word} or
equivalent.

Signed-off-by: Ben Jackson &lt;ben@ben.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git submodule: fix usage line</title>
<updated>2009-04-05T08:16:31Z</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2009-03-31T15:50:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=835a3eea3e18695e29b1d4c3adca37d1caaa16ef'/>
<id>urn:sha1:835a3eea3e18695e29b1d4c3adca37d1caaa16ef</id>
<content type='text'>
Actually, you have to set the -b option after the add command.

Signed-off-by: Julien Danjou &lt;julien@danjou.info&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
