<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-submodule.sh, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2012-10-25T08:46:13Z</updated>
<entry>
<title>git-submodule: wrap branch option with "&lt;&gt;" in usage strings.</title>
<updated>2012-10-25T08:46:13Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2012-10-23T21:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=38ae92e4d027063b9b87e51a9bf12809d10066f6'/>
<id>urn:sha1:38ae92e4d027063b9b87e51a9bf12809d10066f6</id>
<content type='text'>
Use "-b &lt;branch&gt;" instead of "-b branch".  This brings the usage
strings in line with other options, e.g. "--reference &lt;repository&gt;".

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rr/maint-submodule-unknown-cmd'</title>
<updated>2012-09-30T05:28:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-30T05:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=da5a2bd525400b9106dfdccc61e2079a97589a0d'/>
<id>urn:sha1:da5a2bd525400b9106dfdccc61e2079a97589a0d</id>
<content type='text'>
* rr/maint-submodule-unknown-cmd:
  submodule: if $command was not matched, don't parse other args
</content>
</entry>
<entry>
<title>submodule: if $command was not matched, don't parse other args</title>
<updated>2012-09-25T18:31:48Z</updated>
<author>
<name>Ramkumar Ramachandra</name>
<email>artagnon@gmail.com</email>
</author>
<published>2012-09-22T11:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=af9c9f97137dfb3f20a17d76520803c0312fd3e4'/>
<id>urn:sha1:af9c9f97137dfb3f20a17d76520803c0312fd3e4</id>
<content type='text'>
"git submodule" command DWIMs the command line and assumes a
unspecified action word for 'status' action.  This is a UI mistake
that leads to a confusing behaviour.  A mistyped command name is
instead treated as a request for 'status' of the submodule with that
name, e.g.

    $ git submodule show
    error: pathspec 'show' did not match any file(s) known to git.
    Did you forget to 'git add'?

Stop DWIMming an unknown or mistyped subcommand name as pathspec
given to unspelled "status" subcommand.  "git submodule" without any
argument is still interpreted as "git submodule status", but its
value is questionable.

Adjust t7400 to match, and stop advertising the default subcommand
being 'status' which does not help much in practice, other than
promoting laziness and confusion.

Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sz/submodule-force-update' into maint-1.7.11</title>
<updated>2012-09-11T18:10:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-11T18:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ee7a83f6314a6fe281c8e3e041cfd42b5a2deb44'/>
<id>urn:sha1:ee7a83f6314a6fe281c8e3e041cfd42b5a2deb44</id>
<content type='text'>
* sz/submodule-force-update:
  Make 'git submodule update --force' always check out submodules.
</content>
</entry>
<entry>
<title>Merge branch 'sz/submodule-force-update'</title>
<updated>2012-09-03T22:54:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-03T22:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=81dbbf72406c47b5199a59c6b83338b11fd3e754'/>
<id>urn:sha1:81dbbf72406c47b5199a59c6b83338b11fd3e754</id>
<content type='text'>
"git submodule update --force" used to leave the working tree of the
submodule intact when there were local changes.  It is more intiutive
to make "--force" a sign to run "checkout -f" to overwrite them.

* sz/submodule-force-update:
  Make 'git submodule update --force' always check out submodules.
</content>
</entry>
<entry>
<title>Merge branch 'hv/submodule-path-unmatch'</title>
<updated>2012-08-29T21:50:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-08-29T21:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1c0fa76be7d7417080a36f8603c7e9c2511509ea'/>
<id>urn:sha1:1c0fa76be7d7417080a36f8603c7e9c2511509ea</id>
<content type='text'>
* hv/submodule-path-unmatch:
  Let submodule command exit with error status if path does not exist
</content>
</entry>
<entry>
<title>Make 'git submodule update --force' always check out submodules.</title>
<updated>2012-08-24T16:00:43Z</updated>
<author>
<name>Stefan Zager</name>
<email>szager@google.com</email>
</author>
<published>2012-07-25T17:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=01d4721565f1562172149ebb91d29d6a7e7f922d'/>
<id>urn:sha1:01d4721565f1562172149ebb91d29d6a7e7f922d</id>
<content type='text'>
Currently, it will only do a checkout if the sha1 registered in the containing
repository doesn't match the HEAD of the submodule, regardless of whether the
submodule is dirty.  As discussed on the mailing list, the '--force' flag is a
strong indicator that the state of the submodule is suspect, and should be reset
to HEAD.

Signed-off-by: Stefan Zager &lt;szager@google.com&gt;
Acked-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Let submodule command exit with error status if path does not exist</title>
<updated>2012-08-14T21:00:17Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2012-08-14T20:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=be9d0a3a4cbd736911afc10154c7a541129503bd'/>
<id>urn:sha1:be9d0a3a4cbd736911afc10154c7a541129503bd</id>
<content type='text'>
Various subcommands of the "git submodule" command exited with 0
status even though the path given by the user did not exist.

The reason behind that was that they all pipe the output of
module_list into the while loop which then does the action on the
paths specified by the commandline. Since the exit code of the
command on the upstream side of the pipe is ignored by the shell,
the status code of "ls-files --error-unmatch" nor "module_list" was
not propagated.

In case ls-files returns with an error code, we write a special
string that is not possible in non error situations, and no other
output, so that the downstream can detect the error and die with an
error code.

The error message that there is an unmatched pathspec comes through
stderr directly from ls-files. So the user still gets a hint whats going
on.

Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jx/i18n-1.7.11'</title>
<updated>2012-07-31T16:41:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-31T16:41:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5fe1484a9b89e22f14d94d5b050c39db7ad65c81'/>
<id>urn:sha1:5fe1484a9b89e22f14d94d5b050c39db7ad65c81</id>
<content type='text'>
Add i18n support for scripted Porcelains, and mark strings in
merge(-recursive), am, and rebase for i18n.

* jx/i18n-1.7.11:
  i18n: merge-recursive: mark strings for translation
  Remove dead code which contains bad gettext block
  i18n: am: mark more strings for translation
  rebase: remove obsolete and unused LONG_USAGE which breaks xgettext
  i18n: Rewrite gettext messages start with dash
  i18n: rebase: mark messages for translation
  i18n: New keywords for xgettext extraction from sh
</content>
</entry>
<entry>
<title>Merge branch 'jl/maint-1.7.10-recurse-submodules-with-symlink' into maint</title>
<updated>2012-07-30T20:04:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-30T20:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8ba105dda861d33f3d7c3b9989592c1605027116'/>
<id>urn:sha1:8ba105dda861d33f3d7c3b9989592c1605027116</id>
<content type='text'>
When "git submodule add" clones a submodule repository, it can get
confused where to store the resulting submodule repository in the
superproject's .git/ directory when there is a symbolic link in the
path to the current directory.

* jl/maint-1.7.10-recurse-submodules-with-symlink:
  submodules: don't stumble over symbolic links when cloning recursively
</content>
</entry>
</feed>
