<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v0.99.9l</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v0.99.9l</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v0.99.9l'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2005-12-04T07:46:02Z</updated>
<entry>
<title>GIT 0.99.9l aka 1.0rc4</title>
<updated>2005-12-04T07:46:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-04T07:46:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=423325a2d24638ddcc82ce47be5e40be550f4507'/>
<id>urn:sha1:423325a2d24638ddcc82ce47be5e40be550f4507</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] daemon.c and path.enter_repo(): revamp path validation.</title>
<updated>2005-12-04T07:17:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-03T09:45:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=d79374c7b58d3814ffdc277de608243f8e665e3a'/>
<id>urn:sha1:d79374c7b58d3814ffdc277de608243f8e665e3a</id>
<content type='text'>
The whitelist of git-daemon is checked against return value from
enter_repo(), and enter_repo() used to return the value obtained
from getcwd() to avoid directory aliasing issues as discussed
earier (mid October 2005).

Unfortunately, it did not go well as we hoped.

For example, /pub on a kernel.org public machine is a symlink to
its real mountpoint, and it is understandable that the
administrator does not want to adjust the whitelist every time
/pub needs to point at a different partition for storage
allcation or whatever reasons.  Being able to keep using
/pub/scm as the whitelist is a desirable property.

So this version of enter_repo() reports what it used to chdir()
and validate, but does not use getcwd() to canonicalize the
directory name.  When it sees a user relative path ~user/path,
it internally resolves it to try chdir() there, but it still
reports ~user/path (possibly after appending .git if allowed to
do so, in which case it would report ~user/path.git).

What this means is that if a whitelist wants to allow a user
relative path, it needs to say "~" (for all users) or list user
home directories like "~alice" "~bob".  And no, you cannot say
/home if the advertised way to access user home directories are
~alice,~bob, etc.  The whole point of this is to avoid
unnecessary aliasing issues.

Anyway, because of this, daemon needs to do a bit more work to
guard itself.  Namely, it needs to make sure that the accessor
does not try to exploit its leading path match rule by inserting
/../ in the middle or hanging /.. at the end.  I resurrected the
belts and suspender paranoia code HPA did for this purpose.

This check cannot be done in the enter_repo() unconditionally,
because there are valid callers of enter_repo() that want to
honor /../; authorized users coming over ssh to run send-pack
and fetch-pack should be allowed to do so.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>A few more options for git-cat-file</title>
<updated>2005-12-04T07:07:17Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2005-12-04T01:57:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7950571ad75c1c97e5e53626d8342b01b167c790'/>
<id>urn:sha1:7950571ad75c1c97e5e53626d8342b01b167c790</id>
<content type='text'>
This adds '-e' option to git-cat-file, to test for the existence
of the object.

This also cleans up the option-parsing in git-cat-file slightly.

[jc: HPA version had -n option which did rev-parse --verify; the
real value of this patch is the option parsing cleanup.]

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>Add compat/setenv.c, use in git.c.</title>
<updated>2005-12-04T06:25:25Z</updated>
<author>
<name>Jason Riedy</name>
<email>ejr@EECS.Berkeley.EDU</email>
</author>
<published>2005-12-02T23:08:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e40b61fb6bd2e0ed2dc4799096fcf4c828c28d6d'/>
<id>urn:sha1:e40b61fb6bd2e0ed2dc4799096fcf4c828c28d6d</id>
<content type='text'>
There is no setenv() in Solaris 5.8.  The trivial calls to
setenv() were replaced by putenv() in a much earlier patch,
but setenv() was used again in git.c.  This patch just adds
a compat/setenv.c.

The rule for building git$(X) also needs to include compat.
objects and compiler flags.  Those are now in makefile vars
COMPAT_OBJS and COMPAT_CFLAGS.

Signed-off-by: E. Jason Riedy &lt;ejr@cs.berkeley.edu&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>New test case: Criss-cross merge</title>
<updated>2005-12-03T20:29:07Z</updated>
<author>
<name>Fredrik Kuivinen</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-03T10:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7057463463ad01266db264acf7e7b5e95e7b4ecf'/>
<id>urn:sha1:7057463463ad01266db264acf7e7b5e95e7b4ecf</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>New test case: merge with directory/file conflicts</title>
<updated>2005-12-03T20:29:05Z</updated>
<author>
<name>Fredrik Kuivinen</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-03T10:41:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=72d1216a04232f5cc85c6b41109db964b55f8289'/>
<id>urn:sha1:72d1216a04232f5cc85c6b41109db964b55f8289</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>test-lib.sh: Add new function, test_expect_code</title>
<updated>2005-12-03T20:28:57Z</updated>
<author>
<name>Fredrik Kuivinen</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-03T10:40:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=d3bfdb755e06c04492ad3977e7df3d780b6e02f2'/>
<id>urn:sha1:d3bfdb755e06c04492ad3977e7df3d780b6e02f2</id>
<content type='text'>
The test is considered OK if it exits with code $1

Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-merge: Exit with code 2 if no strategy was able to handle the merge.</title>
<updated>2005-12-03T20:28:52Z</updated>
<author>
<name>Fredrik Kuivinen</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-03T10:40:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4275df517022604f5c33ba05ae45a885b84e3472'/>
<id>urn:sha1:4275df517022604f5c33ba05ae45a885b84e3472</id>
<content type='text'>
This way it is possible to test in scripts if the merge was non-clean
or if the strategy had other problems with the merge.

Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>documentation: git-tag</title>
<updated>2005-12-02T20:20:34Z</updated>
<author>
<name>No name</name>
<email>linux@horizon.com</email>
</author>
<published>2005-12-02T11:37:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=56b5e946f2ba4fd57bbe14f9e3ec2e0ae314d5e6'/>
<id>urn:sha1:56b5e946f2ba4fd57bbe14f9e3ec2e0ae314d5e6</id>
<content type='text'>
[jc: light edit applied on top of the original]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>documentation: git-bisect (help HTML break man)</title>
<updated>2005-12-02T20:20:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-02T20:15:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=d2abdd2647c6241ec7cced9df9cdd4b98d3d6898'/>
<id>urn:sha1:d2abdd2647c6241ec7cced9df9cdd4b98d3d6898</id>
<content type='text'>
Use the same trick Josef used to introduce line breaks for
git-mv documentation for now, to help HTML rendering.  This
breaks manpages and we need to come up with a better solution.

Noticed by linux@horizon.com (No Name).

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