<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/subtree, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-03-17T22:19:52Z</updated>
<entry>
<title>subtree: initialize "prefix" variable</title>
<updated>2014-03-17T22:19:52Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-03-17T19:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cba5e28426a5c9728d883171e4e5e287ab17136a'/>
<id>urn:sha1:cba5e28426a5c9728d883171e4e5e287ab17136a</id>
<content type='text'>
We parse the "--prefix" command-line option into the
"$prefix" shell variable. However, if we do not see such an
option, the variable is left with whatever value it had in
the environment. We should initialize it to a known value,
like we do for other variables.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: fix argument validation in add/pull/push</title>
<updated>2014-01-13T22:37:52Z</updated>
<author>
<name>Anthony Baire</name>
<email>Anthony.Baire@irisa.fr</email>
</author>
<published>2013-11-27T18:34:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c3e0f007c8c18dd4ceda3c67cbfb8e01ef2c894'/>
<id>urn:sha1:1c3e0f007c8c18dd4ceda3c67cbfb8e01ef2c894</id>
<content type='text'>
When working with a remote repository add/pull/push do not accept a
&lt;refspec&gt; as parameter but just a &lt;ref&gt;. They should accept any
well-formatted ref name.

This patch:
 - relaxes the check the &lt;ref&gt; argument in "git subtree add &lt;repo&gt;"
   (previous code would not accept a ref name that does not exist
   locally too, new code only ensures that the ref is well formatted)

 - add the same check in "git subtree pull/push" + check the number of
   parameters

 - update the doc to use &lt;ref&gt; instead of &lt;refspec&gt;

Signed-off-by: Anthony Baire &lt;Anthony.Baire@irisa.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/subtree-install-fix'</title>
<updated>2013-11-04T22:58:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-11-04T22:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=59c21d17890476550755ff16636208fd3c9d0fd9'/>
<id>urn:sha1:59c21d17890476550755ff16636208fd3c9d0fd9</id>
<content type='text'>
* jk/subtree-install-fix:
  subtree: add makefile target for html docs
</content>
</entry>
<entry>
<title>subtree: add makefile target for html docs</title>
<updated>2013-10-30T17:47:37Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2013-10-29T16:30:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95c62fb9ea35fab9706792e858ce66967501eb00'/>
<id>urn:sha1:95c62fb9ea35fab9706792e858ce66967501eb00</id>
<content type='text'>
The Makefile currently builds the roff manpage, but not the
html form. As some people may prefer the latter, let's make
it an option to build that, too. We also wire it into "make
doc" so that it is built by default.

This patch does not build or install it as part of
"install-doc"; that would require extra infrastructure to
handle installing the html as we do in git's regular
Documentation/ tree. That can come later if somebody is
interested.

Tested-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ob/typofixes'</title>
<updated>2013-08-01T19:01:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-01T18:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d50cb7569cfb6e04ba48900821618d28012f334e'/>
<id>urn:sha1:d50cb7569cfb6e04ba48900821618d28012f334e</id>
<content type='text'>
* ob/typofixes:
  many small typofixes
</content>
</entry>
<entry>
<title>Merge branch 'ms/subtree-install-fix'</title>
<updated>2013-08-01T18:57:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-01T18:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=898bbe9664bf99bea6dcd4d03b2480f0f79b404b'/>
<id>urn:sha1:898bbe9664bf99bea6dcd4d03b2480f0f79b404b</id>
<content type='text'>
* ms/subtree-install-fix:
  contrib/subtree: Fix make install target
</content>
</entry>
<entry>
<title>Merge branch 'lf/echo-n-is-not-portable'</title>
<updated>2013-08-01T18:52:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-01T18:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a5203a3f044ced7904800f3f233451474c1d5120'/>
<id>urn:sha1:a5203a3f044ced7904800f3f233451474c1d5120</id>
<content type='text'>
* lf/echo-n-is-not-portable:
  Avoid using `echo -n` anywhere
</content>
</entry>
<entry>
<title>contrib/subtree: Fix make install target</title>
<updated>2013-07-30T14:50:23Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2013-07-30T08:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e943c248ac50e7b4743019ff1ed69ac72a48fff'/>
<id>urn:sha1:8e943c248ac50e7b4743019ff1ed69ac72a48fff</id>
<content type='text'>
If the libexec directory doesn't exist, git-subtree gets installed as
$prefix/share/libexec/git-core file. This patch creates the directory
before installing git-subtree file into it.

Signed-off-by: Michal Sojka &lt;sojkam1@fel.cvut.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>many small typofixes</title>
<updated>2013-07-29T19:32:25Z</updated>
<author>
<name>Ondřej Bílka</name>
<email>neleai@seznam.cz</email>
</author>
<published>2013-07-29T08:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98e023dea40a0eca8a61c037dfc59aaf27f003a4'/>
<id>urn:sha1:98e023dea40a0eca8a61c037dfc59aaf27f003a4</id>
<content type='text'>
Signed-off-by: Ondřej Bílka &lt;neleai@seznam.cz&gt;
Reviewed-by: Marc Branchaud &lt;marcnarc@xiplink.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Avoid using `echo -n` anywhere</title>
<updated>2013-07-29T16:56:58Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>git@cryptocrack.de</email>
</author>
<published>2013-07-27T12:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=19c3c5fdcb35b66b792534c5dc4e8d87a3952d2a'/>
<id>urn:sha1:19c3c5fdcb35b66b792534c5dc4e8d87a3952d2a</id>
<content type='text'>
`echo -n` is non-portable. The POSIX specification says:

    Conforming applications that wish to do prompting without &lt;newline&gt;
    characters or that could possibly be expecting to echo a -n, should
    use the printf utility derived from the Ninth Edition system.

Since all of the affected shell scripts use a POSIX shell shebang,
replace `echo -n` invocations with printf.

Signed-off-by: Lukas Fleischer &lt;git@cryptocrack.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
