<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/examples/git-resolve.sh, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-06-09T21:47:06Z</updated>
<entry>
<title>contrib/examples/git-resolve.sh: avoid "test &lt;cond&gt; -a/-o &lt;cond&gt;"</title>
<updated>2014-06-09T21:47:06Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-06-06T14:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6f34b79de15f92b53d050598b04444e8421d7b7d'/>
<id>urn:sha1:6f34b79de15f92b53d050598b04444e8421d7b7d</id>
<content type='text'>
The construct is error-prone; "test" being built-in in most modern
shells, the reason to avoid "test &lt;cond&gt; &amp;&amp; test &lt;cond&gt;" spawning
one extra process by using a single "test &lt;cond&gt; -a &lt;cond&gt;" no
longer exists.

Signed-off-by: Elia Pinto &lt;gitter.spiros@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-resolve.sh: use the $( ... ) construct for command substitution</title>
<updated>2014-04-17T18:15:00Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-04-16T17:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6aeb30eb9fb59f97dd59cc0b580f95a0b98bbe48'/>
<id>urn:sha1:6aeb30eb9fb59f97dd59cc0b580f95a0b98bbe48</id>
<content type='text'>
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto &lt;gitter.spiros@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>Use 'fast-forward' all over the place</title>
<updated>2009-10-25T06:50:28Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2009-10-24T08:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a75d7b54097ef0d0945cbe673a9940d6c561f95c'/>
<id>urn:sha1:a75d7b54097ef0d0945cbe673a9940d6c561f95c</id>
<content type='text'>
It's a compound word.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Rewrite "git-frotz" to "git frotz"</title>
<updated>2007-07-03T05:52:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-07-03T05:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3'/>
<id>urn:sha1:5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3</id>
<content type='text'>
This uses the remove-dashes target to replace "git-frotz" to "git frotz".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Remove git-resolve.</title>
<updated>2007-02-13T03:33:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-02-07T18:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=207dfa07919baba034291f1d5169f86272839d59'/>
<id>urn:sha1:207dfa07919baba034291f1d5169f86272839d59</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
