<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/quote.c, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-12-21T21:28:24Z</updated>
<entry>
<title>[PATCH] quote.c: Make loop control more readable.</title>
<updated>2005-12-21T21:28:24Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2005-12-21T20:35:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=50e7b06730915dd7439e880fe84439a4483ccbb4'/>
<id>urn:sha1:50e7b06730915dd7439e880fe84439a4483ccbb4</id>
<content type='text'>
quote_c_style_counted() in quote.c uses a hard-to-read  construct.
Convert this to a more traditional form of the for loop.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>write_name_quoted(): make one of the path a counted string.</title>
<updated>2005-11-29T06:55:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-29T06:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ef2b3cbf62d15aa0312bde349347873d7c0f399'/>
<id>urn:sha1:9ef2b3cbf62d15aa0312bde349347873d7c0f399</id>
<content type='text'>
This is to prepare for ls-tree updates.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add git-shell.</title>
<updated>2005-10-24T22:12:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-23T21:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=35eb2d36418a25f9e956b116a622d8d99f4abad9'/>
<id>urn:sha1:35eb2d36418a25f9e956b116a622d8d99f4abad9</id>
<content type='text'>
This adds a very git specific restricted shell, that can be
added to /etc/shells and set to the pw_shell in the /etc/passwd
file, to give users ability to push into repositories over ssh
without giving them full interactive shell acount.

[jc: I updated Linus' patch to match what the current sq_quote()
 does.]

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not quote SP.</title>
<updated>2005-10-18T00:41:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-17T20:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28fba290e3868a41e36379906407cf318cedfe57'/>
<id>urn:sha1:28fba290e3868a41e36379906407cf318cedfe57</id>
<content type='text'>
Follow the "encode minimally" principle -- our tools, including
git-apply and git-status, can handle pathnames with embedded SP just
fine.  The only problematic ones are TAB and LF, and we need to quote
the metacharacters introduced for quoting.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Functions to quote and unquote pathnames in C-style.</title>
<updated>2005-10-18T00:41:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-15T04:54:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f6fbcdcf960b5afaeb2f5010be61b919c1805fd'/>
<id>urn:sha1:4f6fbcdcf960b5afaeb2f5010be61b919c1805fd</id>
<content type='text'>
Following the list discussion, define two functions, quote_c_style and
unquote_c_style, to help adopting the proposed way for quoting funny
pathname letters for GNU patch.  The rule is described in:

    http://marc.theaimsgroup.com/?l=git&amp;m=112927316408690&amp;w=2

Currently we do not support the leading '!', but we probably should
barf upon seeing it.  Rule B4. is interpreted to require always 3
octal digits in \XYZ notation.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Enhanced sq_quote()</title>
<updated>2005-10-10T21:46:10Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2005-10-10T21:46:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=77d604c30974587a2e0d36d92c48cef87f6e8e4d'/>
<id>urn:sha1:77d604c30974587a2e0d36d92c48cef87f6e8e4d</id>
<content type='text'>
Create function to sq_quote into a buffer
Handle !'s for csh-based shells

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make sq_expand() available as sq_quote().</title>
<updated>2005-07-08T18:01:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-08T06:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6fb737be5e4803feabe0d1b6169de36131936368'/>
<id>urn:sha1:6fb737be5e4803feabe0d1b6169de36131936368</id>
<content type='text'>
A useful shell safety helper sq_expand() was hidden as a static
function in diff.c.  Extract it out and make it available as
sq_quote().

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
