<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/examples/git-ls-remote.sh, branch v2.3.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-17T18:14:59Z</updated>
<entry>
<title>git-ls-remote.sh: use the $( ... ) construct for command substitution</title>
<updated>2014-04-17T18:14:59Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-04-16T17:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b3cddd28834ef7c32f2049054c9179c68a381f6'/>
<id>urn:sha1:1b3cddd28834ef7c32f2049054c9179c68a381f6</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>Build in ls-remote</title>
<updated>2007-11-05T20:25:42Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2007-11-04T20:51:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8951d7c1f1ae38f34617b6c2490bf65e73e371f7'/>
<id>urn:sha1:8951d7c1f1ae38f34617b6c2490bf65e73e371f7</id>
<content type='text'>
This actually replaces peek-remote with ls-remote, since peek-remote
now handles everything. peek-remote remains an a second name for
ls-remote, although its help message now gives the "ls-remote" name.

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
