<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-submodule.sh, branch v1.8.3.3</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.3.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.3.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2013-06-14T15:04:32Z</updated>
<entry>
<title>handle multibyte characters in name</title>
<updated>2013-06-14T15:04:32Z</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>iveqy@iveqy.com</email>
</author>
<published>2013-06-14T00:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=74671241fd53df2899d4b4400593afc12e8e1bf7'/>
<id>urn:sha1:74671241fd53df2899d4b4400593afc12e8e1bf7</id>
<content type='text'>
Many "git submodule" operations do not work on a submodule at a path whose
name is not in ASCII.

This is because "git ls-files" is used to find which paths are bound to
submodules to the current working tree, and the output is C-quoted by default
for non ASCII pathnames.

Tell "git ls-files" to not C-quote its output, which is easier than unwrapping
C-quote ourselves.

Signed-off-by: Fredrik Gustafsson &lt;iveqy@iveqy.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/submodule-deinit'</title>
<updated>2013-04-05T21:15:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-04-05T21:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7b72ec5e14656af2d48c7a2a0b7251c35903bbaf'/>
<id>urn:sha1:7b72ec5e14656af2d48c7a2a0b7251c35903bbaf</id>
<content type='text'>
A finishing touch to the new topic in 1.8.3.

* jl/submodule-deinit:
  submodule deinit: clarify work tree removal message
</content>
</entry>
<entry>
<title>Merge branch 'rs/submodule-summary-limit'</title>
<updated>2013-04-03T16:34:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-04-03T16:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e3b1173fb1233197fcaabbce84b9a0f33d24d09b'/>
<id>urn:sha1:e3b1173fb1233197fcaabbce84b9a0f33d24d09b</id>
<content type='text'>
"submodule summary --summary-limit" option did not support
"--option=value" form.

* rs/submodule-summary-limit:
  submodule summary: support --summary-limit=&lt;n&gt;
</content>
</entry>
<entry>
<title>submodule deinit: clarify work tree removal message</title>
<updated>2013-04-01T20:05:54Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2013-04-01T19:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7b294bf4948931a915cee2d5a692235e9b9c0e27'/>
<id>urn:sha1:7b294bf4948931a915cee2d5a692235e9b9c0e27</id>
<content type='text'>
The output of "git submodule deinit sub" of a populated submodule prints

  rm 'sub'

as the first line unless used with the -f option.

The "rm 'sub'" line is exactly the same output the user gets when using
"git rm sub" (because that command is used with the --dry-run option under
the hood to determine if the submodule is clean), which can easily lead to
the false impression that the submodule would be permanently removed. Also
users might be confused that the "rm 'submodule'" line won't show up when
the -f option is used, as the test is skipped in this case.

Silence the "rm 'submodule'" output by using the --quiet option for "git
rm" and always print

  Cleared directory 'submodule'

instead as the first output line. This line is printed as long as the
directory exists, no matter if empty or not.

Also extend the tests in t7400 to make sure the "Cleared directory" line
is printed correctly.

Reported-by: Phil Hord &lt;phil.hord@gmail.com&gt;
Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule summary: support --summary-limit=&lt;n&gt;</title>
<updated>2013-04-01T14:37:34Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2013-04-01T13:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=862ae6cd67ff79c0ec6629e78ea4cb24a1ae3db1'/>
<id>urn:sha1:862ae6cd67ff79c0ec6629e78ea4cb24a1ae3db1</id>
<content type='text'>
In addition to "--summary-limit &lt;n&gt;" support the form "--summary-limit=&lt;n&gt;",
for consistency with other parameters and commands.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'we/submodule-update-prefix-output' into maint</title>
<updated>2013-03-26T19:44:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-03-26T19:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=50734ea0af6b92b82ade0be23db382ab87f9294a'/>
<id>urn:sha1:50734ea0af6b92b82ade0be23db382ab87f9294a</id>
<content type='text'>
"git submodule update", when recursed into sub-submodules, did not
acccumulate the prefix paths.

* we/submodule-update-prefix-output:
  submodule update: when using recursion, show full path
</content>
</entry>
<entry>
<title>Merge branch 'jl/submodule-deinit'</title>
<updated>2013-03-25T21:00:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-03-25T21:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b03b41e24c84731742e132d86ef3e449dcd6ec25'/>
<id>urn:sha1:b03b41e24c84731742e132d86ef3e449dcd6ec25</id>
<content type='text'>
There was no Porcelain way to say "I no longer am interested in
this submodule", once you express your interest in a submodule with
"submodule init".  "submodule deinit" is the way to do so.

* jl/submodule-deinit:
  submodule: add 'deinit' command
</content>
</entry>
<entry>
<title>Merge branch 'we/submodule-update-prefix-output'</title>
<updated>2013-03-21T21:03:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-03-21T21:03:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=28ed8d7be9363a19ea74626d5c84dffbfa959787'/>
<id>urn:sha1:28ed8d7be9363a19ea74626d5c84dffbfa959787</id>
<content type='text'>
"git submodule update", when recursed into sub-submodules, did not
acccumulate the prefix paths.

* we/submodule-update-prefix-output:
  submodule update: when using recursion, show full path
</content>
</entry>
<entry>
<title>submodule: add 'deinit' command</title>
<updated>2013-03-04T22:48:02Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2013-03-04T21:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cf419828064d4f22a2c3134e7b46a7719462b1dc'/>
<id>urn:sha1:cf419828064d4f22a2c3134e7b46a7719462b1dc</id>
<content type='text'>
With "git submodule init" the user is able to tell git he cares about one
or more submodules and wants to have it populated on the next call to "git
submodule update". But currently there is no easy way he could tell git he
does not care about a submodule anymore and wants to get rid of his local
work tree (except he knows a lot about submodule internals and removes the
"submodule.$name.url" setting from .git/config together with the work tree
himself).

Help those users by providing a 'deinit' command. This removes the
whole submodule.&lt;name&gt; section from .git/config (either for the given
submodule(s) or for all those which have been initialized if '.' is used)
together with their work tree. Fail if the current work tree contains
modifications (unless forced), but don't complain when either the work
tree is already removed or no settings are found in .git/config.

Add tests and link the man pages of "git submodule deinit" and "git rm"
to assist the user in deciding whether removing or unregistering the
submodule is the right thing to do for him. Also add the deinit subcommand
to the completion list.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>submodule update: when using recursion, show full path</title>
<updated>2013-03-04T03:46:54Z</updated>
<author>
<name>William Entriken</name>
<email>fulldecent@gmail.com</email>
</author>
<published>2013-03-02T19:44:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=75bf5e60e8c09075af1e4cd0d68a6d73fdf92c42'/>
<id>urn:sha1:75bf5e60e8c09075af1e4cd0d68a6d73fdf92c42</id>
<content type='text'>
Previously when using update with recursion, only the path for the
inner-most module was printed. Now the path is printed relative to
the directory the command was started from. This now matches the
behavior of submodule foreach.

Signed-off-by: William Entriken &lt;github.com@phor.net&gt;
Acked-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
