<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git.c, branch v2.4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.9</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-20T20:11:46Z</updated>
<entry>
<title>Merge branch 'kn/git-cd-to-empty'</title>
<updated>2015-03-20T20:11:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-20T20:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d6c988ddfacd49edf1eb16084af36062d8eb7121'/>
<id>urn:sha1:d6c988ddfacd49edf1eb16084af36062d8eb7121</id>
<content type='text'>
"git -C '' subcmd" refused to work in the current directory, unlike
"cd ''" which silently behaves as a no-op.

* kn/git-cd-to-empty:
  git: treat "git -C '&lt;path&gt;'" as a no-op when &lt;path&gt; is empty
</content>
</entry>
<entry>
<title>Merge branch 'ak/git-done-help-cleanup'</title>
<updated>2015-03-17T23:01:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-17T23:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=860b05b77b876b0e9bd2f32f1d3b518f64c7b87b'/>
<id>urn:sha1:860b05b77b876b0e9bd2f32f1d3b518f64c7b87b</id>
<content type='text'>
Code simplification.

* ak/git-done-help-cleanup:
  git: make was_alias and done_help non-static
</content>
</entry>
<entry>
<title>git: treat "git -C '&lt;path&gt;'" as a no-op when &lt;path&gt; is empty</title>
<updated>2015-03-07T03:42:00Z</updated>
<author>
<name>Karthik Nayak</name>
<email>karthik.188@gmail.com</email>
</author>
<published>2015-03-06T11:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6a536e2076f02a98e0d6403ff68f3acf717fa1c4'/>
<id>urn:sha1:6a536e2076f02a98e0d6403ff68f3acf717fa1c4</id>
<content type='text'>
'git -C ""' unhelpfully dies with error "Cannot change to ''",
whereas the shell treats `cd ""' as a no-op.  Taking the shell's
behavior as a precedent, teach git to treat `-C ""' as a no-op, as
well.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Karthik Nayak &lt;karthik.188@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git: make was_alias and done_help non-static</title>
<updated>2015-03-06T20:03:30Z</updated>
<author>
<name>Alexander Kuleshov</name>
<email>kuleshovmail@gmail.com</email>
</author>
<published>2015-03-02T12:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8fa7975b076ae039f63286601f48e64115e2aba7'/>
<id>urn:sha1:8fa7975b076ae039f63286601f48e64115e2aba7</id>
<content type='text'>
'was_alias' variable does not need to store it's value on each
iteration in the loop; this variable gets assigned the result
of run_argv() every time in the loop before being used.

'done_help' variable does not need to be static variable too if
we move it out the loop.

Signed-off-by: Alexander Kuleshov &lt;kuleshovmail@gmail.com&gt;
Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Helped-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 'ah/usage-strings'</title>
<updated>2015-02-11T21:44:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb831db6774aaa733199360dc7af6f3ce375fc20'/>
<id>urn:sha1:bb831db6774aaa733199360dc7af6f3ce375fc20</id>
<content type='text'>
* ah/usage-strings:
  standardize usage info string format
</content>
</entry>
<entry>
<title>Merge branch 'ak/fewer-includes'</title>
<updated>2015-01-14T20:37:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-14T20:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=09deda3746a0c726a79a6e2db4fd8d864aa08e51'/>
<id>urn:sha1:09deda3746a0c726a79a6e2db4fd8d864aa08e51</id>
<content type='text'>
* ak/fewer-includes:
  cat-file: remove unused includes
  git.c: remove unnecessary #includes
</content>
</entry>
<entry>
<title>standardize usage info string format</title>
<updated>2015-01-14T17:32:04Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2015-01-13T07:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b'/>
<id>urn:sha1:9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b</id>
<content type='text'>
This patch puts the usage info strings that were not already in docopt-
like format into docopt-like format, which will be a litle easier for
end users and a lot easier for translators. Changes include:

- Placing angle brackets around fill-in-the-blank parameters
- Putting dashes in multiword parameter names
- Adding spaces to [-f|--foobar] to make [-f | --foobar]
- Replacing &lt;foobar&gt;* with [&lt;foobar&gt;...]

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git.c: remove unnecessary #includes</title>
<updated>2015-01-10T00:16:56Z</updated>
<author>
<name>Alexander Kuleshov</name>
<email>kuleshovmail@gmail.com</email>
</author>
<published>2015-01-09T10:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=50fea42ef5202673c80600555f1308a9b3150471'/>
<id>urn:sha1:50fea42ef5202673c80600555f1308a9b3150471</id>
<content type='text'>
"cache.h" and "commit.h" are already included via "builtin.h".

We started to include "quote.h" at 575ba9d6 (GIT_TRACE: show which
built-in/external commands are executed, 2006-06-25) that wanted to
use sq_quote_print().

When 6ce4e61f (Trace into a file or an open fd and refactor tracing
code., 2006-09-02) introduced trace.c API, the calls this file makes
to sq_quote_print() were replaced by calls to trace_argv_printf()
that are declared in "cache.h", which this file already includes.
We should have stopped including "quote.h" in that commit, but
forgot to do so.

Signed-off-by: Alexander Kuleshov &lt;kuleshovmail@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sv/get-builtin'</title>
<updated>2014-12-05T19:42:26Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-05T19:42:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7f2186cadf4844616065c6175f179f1184c8fa75'/>
<id>urn:sha1:7f2186cadf4844616065c6175f179f1184c8fa75</id>
<content type='text'>
* sv/get-builtin:
  builtin: move builtin retrieval to get_builtin()
</content>
</entry>
<entry>
<title>builtin: move builtin retrieval to get_builtin()</title>
<updated>2014-11-13T18:40:41Z</updated>
<author>
<name>Slavomir Vlcek</name>
<email>svlc@inventati.org</email>
</author>
<published>2014-11-12T13:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4f901d1593f3ef097c3e73daa2847ed9ad9efe0'/>
<id>urn:sha1:c4f901d1593f3ef097c3e73daa2847ed9ad9efe0</id>
<content type='text'>
There was a redundant code for a builtin command retrieval in
'handle_builtin()' and 'is_builtin()'.

Introduce a new function 'get_builtin()' and using it from
both of these places to reduce the redundancy.

Signed-off-by: Slavomir Vlcek &lt;svlc@inventati.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
