<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/upload-pack.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>2006-02-18T00:20:51Z</updated>
<entry>
<title>Prevent git-upload-pack segfault if object cannot be found</title>
<updated>2006-02-18T00:20:51Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2006-02-18T00:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b5b16990f8b074bd0481ced047b8f8bf66eee6dc'/>
<id>urn:sha1:b5b16990f8b074bd0481ced047b8f8bf66eee6dc</id>
<content type='text'>
Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Exec git programs without using PATH.</title>
<updated>2006-01-14T00:49:01Z</updated>
<author>
<name>Michal Ostrowski</name>
<email>mostrows@watson.ibm.com</email>
</author>
<published>2006-01-11T02:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=77cb17e940c806a4cc811bfd66187277b729a1e7'/>
<id>urn:sha1:77cb17e940c806a4cc811bfd66187277b729a1e7</id>
<content type='text'>
The git suite may not be in PATH (and thus programs such as
git-send-pack could not exec git-rev-list).  Thus there is a need for
logic that will locate these programs.  Modifying PATH is not
desirable as it result in behavior differing from the user's
intentions, as we may end up prepending "/usr/bin" to PATH.

- git C programs will use exec*_git_cmd() APIs to exec sub-commands.
- exec*_git_cmd() will execute a git program by searching for it in
  the following directories:
	1. --exec-path (as used by "git")
	2. The GIT_EXEC_PATH environment variable.
	3. $(gitexecdir) as set in Makefile (default value $(bindir)).
- git wrapper will modify PATH as before to enable shell scripts to
  invoke "git-foo" commands.

Ideally, shell scripts should use the git wrapper to become independent
of PATH, and then modifying PATH will not be necessary.

[jc: with minor updates after a brief review.]

Signed-off-by: Michal Ostrowski &lt;mostrows@watson.ibm.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Server-side support for user-relative paths.</title>
<updated>2005-11-20T04:50:38Z</updated>
<author>
<name>Andreas Ericsson</name>
<email>exon@op5.se</email>
</author>
<published>2005-11-17T19:37:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d6301329156e4eeb0d25d6bce14f6e958314986'/>
<id>urn:sha1:8d6301329156e4eeb0d25d6bce14f6e958314986</id>
<content type='text'>
This patch basically just removes the redundant code from
{receive,upload}-pack.c in favour of the library code in path.c.

Signed-off-by: Andreas Ericsson &lt;ae@op5.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Be careful when dereferencing tags.</title>
<updated>2005-11-03T00:50:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-02T23:19:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9534f40bc42dd826cc26c8c8c84f6a8a5fc569f6'/>
<id>urn:sha1:9534f40bc42dd826cc26c8c8c84f6a8a5fc569f6</id>
<content type='text'>
One caller of deref_tag() was not careful enough to make sure
what deref_tag() returned was not NULL (i.e. we found a tag
object that points at an object we do not have).  Fix it, and
warn about refs that point at such an incomplete tag where
needed.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>fix multi_ack.</title>
<updated>2005-10-29T05:57:01Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-28T03:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f5881bb5f4da97d0bb23024ae91079137326c7e'/>
<id>urn:sha1:1f5881bb5f4da97d0bb23024ae91079137326c7e</id>
<content type='text'>
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-upload-pack: Support the multi_ack protocol</title>
<updated>2005-10-29T05:57:00Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-28T02:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1bd8c8f00b1c7facb67c99047fe777b53f2c49ff'/>
<id>urn:sha1:1bd8c8f00b1c7facb67c99047fe777b53f2c49ff</id>
<content type='text'>
This implements three things (trying very hard to be backwards
compatible):

It sends the "multi_ack" capability via the mechanism proposed by
Sergey Vlasov.

When the client sends "multi_ack" with at least one "want", multi_ack
is enabled.

When multi_ack is enabled, "continue" is appended to each "ACK" until
either the server can not store more refs, or "done" is received.

In contrast to the original protocol, as long as "continue" is sent,
flushes are answered by a "NAK" (not just until an "ACK" was sent),
and if "continue" was sent at least once, the last message is an
"ACK" without "continue".

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-upload-pack: More efficient usage of the has_sha1 array</title>
<updated>2005-10-29T05:56:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-28T02:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f0243f26f6d8403cd8e83c7d498c81e01a1f1735'/>
<id>urn:sha1:f0243f26f6d8403cd8e83c7d498c81e01a1f1735</id>
<content type='text'>
This patch is based on Junio's proposal. It marks parents of common revs
so that they do not clutter up the has_sha1 array.

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>Fix cloning (memory corruption)</title>
<updated>2005-10-26T18:52:19Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-26T14:18:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b5c367f75c2990650119749a1add5216871ca47a'/>
<id>urn:sha1:b5c367f75c2990650119749a1add5216871ca47a</id>
<content type='text'>
upload-pack would set create_full_pack=1 if nr_has==0, but would ask later
if nr_needs&lt;MAX_NEEDS. If that proves true, it would ignore create_full_pack,
and arguments would be written into unreserved memory.

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>upload-pack: tighten request validation.</title>
<updated>2005-10-26T06:53:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-25T01:59:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=565ebbf79f61873042c22a7126d002c104e056f4'/>
<id>urn:sha1:565ebbf79f61873042c22a7126d002c104e056f4</id>
<content type='text'>
This makes sure what the other end asks for are among what we
offered to give them.  Otherwise we would end up running
git-rev-list with 20-byte nonsense, only to find it either die
(because the object was not found) or waste time (because we
ended up serving that phony 'client').

Also avoid wasting needs_sha1 pool to record duplicates, and
detect cloning requests better.

[this used to be on top of Johannes fetch-pack enhancements,
 which we are rewinding it for further testing for now, so
 the commit is rebased.]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Revert recent fetch-pack/upload-pack updates.</title>
<updated>2005-10-25T21:55:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-25T21:55:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af2d3aa4d84fd3475d9b676f669eab3c4227189f'/>
<id>urn:sha1:af2d3aa4d84fd3475d9b676f669eab3c4227189f</id>
<content type='text'>
Let's have it simmer a bit longer in the proposed updates branch
and shake the problems out.

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