<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git, branch v1.4.2.1</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.2.1</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.2.1'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2006-09-13T07:54:43Z</updated>
<entry>
<title>http-fetch: fix alternates handling.</title>
<updated>2006-09-13T07:54:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-09-13T06:53:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=883653babd8ee7ea23e6a5c392bb739348b1eb61'/>
<id>urn:sha1:883653babd8ee7ea23e6a5c392bb739348b1eb61</id>
<content type='text'>
Fetch over http from a repository that uses alternates to borrow
from neighbouring repositories were quite broken, apparently for
some time now.

We parse input and count bytes to allocate the new buffer, and
when we copy into that buffer we know exactly how many bytes we
want to copy from where.  Using strlcpy for it was simply
stupid, and the code forgot to take it into account that strlcpy
terminated the string with NUL.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>builtin-mv: readability patch</title>
<updated>2006-08-21T21:15:52Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-08-19T14:52:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=60a6bf5f53635005f4f68d8b8a33172309193623'/>
<id>urn:sha1:60a6bf5f53635005f4f68d8b8a33172309193623</id>
<content type='text'>
The old version was not liked at all. This is hopefully better. Oh, and it
gets rid of the goto.

Note that it does not change any functionality.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: fix off-by-one error</title>
<updated>2006-08-21T21:15:45Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-08-21T20:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6e17886d376ee8480cc9a8b9bc5046f2d721565f'/>
<id>urn:sha1:6e17886d376ee8480cc9a8b9bc5046f2d721565f</id>
<content type='text'>
Embarassing.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: special case destination "."</title>
<updated>2006-08-21T21:15:43Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-08-18T10:42:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c5203bdf66531c848a2b6cd74f3c02cb18286c55'/>
<id>urn:sha1:c5203bdf66531c848a2b6cd74f3c02cb18286c55</id>
<content type='text'>
Since the normalized basename of "." is "", the check for directory
failed erroneously.

Noticed by Fredrik Kuivinen.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] git-mv: add more path normalization</title>
<updated>2006-08-16T20:19:06Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-08-16T08:44:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d78b0f3d6aa04510dd0c22c3853d3954c5f5b531'/>
<id>urn:sha1:d78b0f3d6aa04510dd0c22c3853d3954c5f5b531</id>
<content type='text'>
We already use the normalization from get_pathspec(), but now we also
remove a trailing slash. So,

	git mv some_path/ into_some_path/

works now.

Also, move the "can not move directory into itself" test before the
subdirectory expansion.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>finish_connect(): thinkofix</title>
<updated>2006-08-16T04:02:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-15T23:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=53e1a761be8d338cd957870bc1e48a8c15d7d2c0'/>
<id>urn:sha1:53e1a761be8d338cd957870bc1e48a8c15d7d2c0</id>
<content type='text'>
All but one callers have ignore the return value from this
function, but the only caller, builtin-tar-tree.c::remote_tar(),
assumed it returns non-zero on failure and zero on success.  The
implementation however was returning either the waited pid
(which must be the same as its input) or -1 (an error).

Fix this thinko, while getting rid of an assignment of return
value from waitpid() into a variable of type int.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: succeed even if source is a prefix of destination</title>
<updated>2006-08-16T04:00:20Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-08-16T00:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1d6249e609289940dca179b626fe4ae5433c90cc'/>
<id>urn:sha1:1d6249e609289940dca179b626fe4ae5433c90cc</id>
<content type='text'>
As noted by Fredrik Kuivinen, without this patch, git-mv fails on

	git-mv README README-renamed

because "README" is a prefix of "README-renamed".

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Solaris does not support C99 format strings before version 10</title>
<updated>2006-08-15T09:55:39Z</updated>
<author>
<name>Dennis Stosberg</name>
<email>dennis@stosberg.net</email>
</author>
<published>2006-08-15T09:01:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=66c4509b73eeb66de3196a43e3171b3764f74100'/>
<id>urn:sha1:66c4509b73eeb66de3196a43e3171b3764f74100</id>
<content type='text'>
Signed-off-by: Dennis Stosberg &lt;dennis@stosberg.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>sample commit-msg hook: no silent exit on duplicate Signed-off-by lines</title>
<updated>2006-08-13T08:46:28Z</updated>
<author>
<name>Luben Tuikov</name>
<email>ltuikov@yahoo.com</email>
</author>
<published>2006-08-13T08:41:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9a1ae9ab03abaffc977421f182997f3e735e7098'/>
<id>urn:sha1:9a1ae9ab03abaffc977421f182997f3e735e7098</id>
<content type='text'>
git-commit would silently exit if duplicate Signed-off-by
lines were found.  Users of git-commit would not know it,
unless they checked '$?'.  This patch makes git-commit
actually print out a message that nothing was commited
since duplicate Signed-off-lines were found.

Signed-off-by: Luben Tuikov &lt;ltuikov@yahoo.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix regex pattern in commit-msg</title>
<updated>2006-08-13T08:46:28Z</updated>
<author>
<name>Luben Tuikov</name>
<email>ltuikov@yahoo.com</email>
</author>
<published>2006-08-13T07:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e77235ea38385a127d2afc969435a56d3ff2b16d'/>
<id>urn:sha1:e77235ea38385a127d2afc969435a56d3ff2b16d</id>
<content type='text'>
Between the count and the line output, some
uniq(1) versions put a TAB character, not a space.
Make sure both are handled.

Signed-off-by: Luben Tuikov &lt;ltuikov@yahoo.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
