<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v1.2.5</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.2.5</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.2.5'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2006-04-04T06:42:25Z</updated>
<entry>
<title>Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.</title>
<updated>2006-04-04T06:42:25Z</updated>
<author>
<name>Jason Riedy</name>
<email>ejr@EECS.Berkeley.EDU</email>
</author>
<published>2006-04-02T22:29:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=72fdfb50f721460e4cdff16fbe9c72d4ce6c668c'/>
<id>urn:sha1:72fdfb50f721460e4cdff16fbe9c72d4ce6c668c</id>
<content type='text'>
Might as well ape the sigaction change in read-tree.c to avoid
the same potential problems.  The fprintf status output will
be overwritten in a second, so don't bother guarding it.  Do
move the fputc after disabling SIGALRM to ensure we go to the
next line, though.

Also add a NO_SA_RESTART option in the Makefile in case someone
doesn't have SA_RESTART but does restart (maybe older HP/UX?).
We want the builder to chose this specifically in case the
system both lacks SA_RESTART and does not restart stdio calls;
a compat #define in git-compat-utils.h would silently allow
broken systems.

Signed-off-by: Jason Riedy &lt;ejr@cs.berkeley.edu&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>safe_fgets() - even more anal fgets()</title>
<updated>2006-04-04T06:42:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-04T06:41:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=687dd75c95f9212244b6cf4fe60b40db44de01ba'/>
<id>urn:sha1:687dd75c95f9212244b6cf4fe60b40db44de01ba</id>
<content type='text'>
This is from Linus -- the previous round forgot to clear error
after EINTR case.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pack-objects: be incredibly anal about stdio semantics</title>
<updated>2006-04-02T20:46:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-04-02T20:31:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=da93d12b00425a37e81e227671f13130efcfe93f'/>
<id>urn:sha1:da93d12b00425a37e81e227671f13130efcfe93f</id>
<content type='text'>
This is the "letter of the law" version of using fgets() properly in the
face of incredibly broken stdio implementations.  We can work around the
Solaris breakage with SA_RESTART, but in case anybody else is ever that
stupid, here's the "safe" (read: "insanely anal") way to use fgets.

It probably goes without saying that I'm not terribly impressed by
Solaris libc.

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>Fix Solaris stdio signal handling stupidities</title>
<updated>2006-04-02T20:41:56Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-04-02T20:28:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fb7a6531e67333b22967bf5b96ef22a28f3b2552'/>
<id>urn:sha1:fb7a6531e67333b22967bf5b96ef22a28f3b2552</id>
<content type='text'>
This uses sigaction() to install the SIGALRM handler with SA_RESTART, so
that Solaris stdio doesn't break completely when a signal interrupts a
read.

Thanks to Jason Riedy for confirming the silly Solaris signal behaviour.

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>tar-tree: file/dirmode fix.</title>
<updated>2006-03-04T05:36:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-04T05:34:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=473d404b53488a17458beea81913c1bc5df47a8a'/>
<id>urn:sha1:473d404b53488a17458beea81913c1bc5df47a8a</id>
<content type='text'>
This fixes two bugs introduced when we switched to generic tree
traversal code.

 (1) directory mode recorded silently became 0755, not 0777

 (2) if passed a tree object (not a commit), it emitted an
     alarming error message (but proceeded anyway).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>read-tree --aggressive: remove deleted entry from the working tree.</title>
<updated>2006-03-02T07:20:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-02T07:10:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1142038098810a69e57d88554559e4e6116df177'/>
<id>urn:sha1:1142038098810a69e57d88554559e4e6116df177</id>
<content type='text'>
When both heads deleted, or our side deleted while the other
side did not touch, we did not have to update the working tree.

However, we forgot to remove existing working tree file when we
did not touch and the other side did.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lt/fix-apply' into maint</title>
<updated>2006-03-02T01:06:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-02T01:06:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e1a0c8b1483b38d32d3870408e03a6c1b340aa15'/>
<id>urn:sha1:e1a0c8b1483b38d32d3870408e03a6c1b340aa15</id>
<content type='text'>
* lt/fix-apply:
  git-am: --whitespace=x option.
  git-apply: war on whitespace -- finishing touches.
  git-apply --whitespace=nowarn
  apply --whitespace: configuration option.
  apply: squelch excessive errors and --whitespace=error-all
  apply --whitespace fixes and enhancements.
  The war on trailing whitespace
</content>
</entry>
<entry>
<title>git-mv: fixes for path handling</title>
<updated>2006-03-01T20:13:46Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2006-03-01T18:09:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9e7c73de0bcd410d12f897b19419dd35accd961e'/>
<id>urn:sha1:9e7c73de0bcd410d12f897b19419dd35accd961e</id>
<content type='text'>
Moving a directory ending in a slash was not working as the
destination was not calculated correctly.
E.g. in the git repo,

 git-mv t/ Documentation

gave the error

 Error: destination 'Documentation' already exists

To get rid of this problem, strip trailing slashes from all arguments.
The comment in cg-mv made me curious about this issue; Pasky, thanks!
As result, the workaround in cg-mv is not needed any more.

Also, another bug was shown by cg-mv. When moving files outside of
a subdirectory, it typically calls git-mv with something like

 git-mv Documentation/git.txt Documentation/../git-mv.txt

which triggers the following error from git-update-index:

 Ignoring path Documentation/../git-mv.txt

The result is a moved file, removed from git revisioning, but not
added again. To fix this, the paths have to be normalized not have ".."
in the middle. This was already done in git-mv, but only for
a better visual appearance :(

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: Allow -h without repo &amp; fix error message</title>
<updated>2006-03-01T20:13:44Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2006-03-01T17:16:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5e6f85f6c1d988d125dfcba16bb43a9a65f9eab3'/>
<id>urn:sha1:5e6f85f6c1d988d125dfcba16bb43a9a65f9eab3</id>
<content type='text'>
This fixes "git-mv -h" to output the usage without the need
to be in a git repository.
Additionally:
- fix confusing error message when only one arg was given
- fix typo in error message

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Allow git-mv to accept ./ in paths.</title>
<updated>2006-03-01T20:12:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-19T07:42:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=573464319f70bd54a7c48cfd7bed6a0f6f331f42'/>
<id>urn:sha1:573464319f70bd54a7c48cfd7bed6a0f6f331f42</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
(cherry picked from 9a0e6731c632c841cd2de9dec0b9091b2f10c6fd commit)
</content>
</entry>
</feed>
