<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/bundle.c, branch v1.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.2</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.2'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-01-26T01:13:02Z</updated>
<entry>
<title>Merge branch 'js/maint-all-implies-HEAD'</title>
<updated>2009-01-26T01:13:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-26T01:13:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f18e6bef23809d2823c1a687f375b22c6af0e735'/>
<id>urn:sha1:f18e6bef23809d2823c1a687f375b22c6af0e735</id>
<content type='text'>
* js/maint-all-implies-HEAD:
  bundle: allow the same ref to be given more than once
  revision walker: include a detached HEAD in --all
</content>
</entry>
<entry>
<title>bundle: allow the same ref to be given more than once</title>
<updated>2009-01-18T07:00:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-18T06:27:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b2a6d1c6868b6d5e7d2b4fa9129341220a1e848a'/>
<id>urn:sha1:b2a6d1c6868b6d5e7d2b4fa9129341220a1e848a</id>
<content type='text'>
"git bundle create x master master" used to create a bundle that lists
the same branch (master) twice.  Cloning from such a bundle resulted in
a needless warning "warning: Duplicated ref: refs/remotes/origin/master".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bundle: allow rev-list options to exclude annotated tags</title>
<updated>2009-01-05T18:47:07Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-01-02T18:08:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c9a42c4a12cec17e858b76d6c68aa17c12c0aef1'/>
<id>urn:sha1:c9a42c4a12cec17e858b76d6c68aa17c12c0aef1</id>
<content type='text'>
With options such as "--all --since=2.weeks.ago", annotated tags used to
be included, when they should have been excluded.  The reason is that we
heavily abuse the revision walker to determine what needs to be included
or excluded.  And the revision walker does not show tags at all (and
therefore never marks tags as uninteresting).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix non-literal format in printf-style calls</title>
<updated>2008-11-11T22:43:59Z</updated>
<author>
<name>Daniel Lowe</name>
<email>dlowe@bitmuse.com</email>
</author>
<published>2008-11-10T21:07:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9db56f71b91153f4076a796c80c61f00edd8b700'/>
<id>urn:sha1:9db56f71b91153f4076a796c80c61f00edd8b700</id>
<content type='text'>
These were found using gcc 4.3.2-1ubuntu11 with the warning:

    warning: format not a string literal and no format arguments

Incorporated suggestions from Brandon Casey &lt;casey@nrlssc.navy.mil&gt;.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Enhance hold_lock_file_for_{update,append}() API</title>
<updated>2008-10-19T19:35:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-10-17T22:44:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=acd3b9eca82e38950f94e4708b528b7dae09a7c8'/>
<id>urn:sha1:acd3b9eca82e38950f94e4708b528b7dae09a7c8</id>
<content type='text'>
This changes the "die_on_error" boolean parameter to a mere "flags", and
changes the existing callers of hold_lock_file_for_update/append()
functions to pass LOCK_DIE_ON_ERROR.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Teach git-bundle to read revision arguments from stdin like git-rev-list.</title>
<updated>2008-07-07T08:31:24Z</updated>
<author>
<name>Adam Brewster</name>
<email>adambrewster@gmail.com</email>
</author>
<published>2008-07-05T21:26:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=22568f0a336ac37ae7329c917857b455839d1d09'/>
<id>urn:sha1:22568f0a336ac37ae7329c917857b455839d1d09</id>
<content type='text'>
This patch allows the caller to feed the revision parameters to git-bundle
from its standard input.  This way, a script do not have to worry about
limitation of the length of command line.

Documentation/git-bundle.txt says that git-bundle takes arguments acceptable
to git-rev-list.  Obviously some arguments that git-rev-list handles don't
make sense for git-bundle (e.g. --bisect) but --stdin is pretty reasonable.

Signed-off-by: Adam Brewster &lt;adambrewster@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>start_command(), if .in/.out &gt; 0, closes file descriptors, not the callers</title>
<updated>2008-02-23T19:59:44Z</updated>
<author>
<name>Johannes Sixt</name>
<email>johannes.sixt@telecom.at</email>
</author>
<published>2008-02-21T22:42:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c20181e3a3e39f2c8874567c219e9edddb84393a'/>
<id>urn:sha1:c20181e3a3e39f2c8874567c219e9edddb84393a</id>
<content type='text'>
Callers of start_command() can set the members .in and .out of struct
child_process to a value &gt; 0 to specify that this descriptor is used as
the stdin or stdout of the child process.

Previously, if start_command() was successful, this descriptor was closed
upon return. Here we now make sure that the descriptor is also closed in
case of failures. All callers are updated not to close the file descriptor
themselves after start_command() was called.

Note that earlier run_gpg_verify() of git-verify-tag set .out = 1, which
worked because start_command() treated this as a special case, but now
this is incorrect because it closes the descriptor. The intent here is to
inherit stdout to the child, which is achieved by .out = 0.

Signed-off-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>start_command(), .in/.out/.err = -1: Callers must close the file descriptor</title>
<updated>2008-02-23T19:59:44Z</updated>
<author>
<name>Johannes Sixt</name>
<email>johannes.sixt@telecom.at</email>
</author>
<published>2008-02-16T17:36:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e72ae28895b22052b7ca2eef36c039ac62671f7d'/>
<id>urn:sha1:e72ae28895b22052b7ca2eef36c039ac62671f7d</id>
<content type='text'>
By setting .in, .out, or .err members of struct child_process to -1, the
callers of start_command() can request that a pipe is allocated that talks
to the child process and one end is returned by replacing -1 with the
file descriptor.

Previously, a flag was set (for .in and .out, but not .err) to signal
finish_command() to close the pipe end that start_command() had handed out,
so it was optional for callers to close the pipe, and many already do so.
Now we make it mandatory to close the pipe.

Signed-off-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>check return code of prepare_revision_walk</title>
<updated>2008-02-18T07:51:12Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2008-02-18T07:31:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3d51e1b5b84bde24f9a19e3cee603f0b57f62001'/>
<id>urn:sha1:3d51e1b5b84bde24f9a19e3cee603f0b57f62001</id>
<content type='text'>
A failure in prepare_revision_walk can be caused by
a not parseable object.

Signed-off-by: Martin Koegler &lt;mkoegler@auto.tuwien.ac.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Improve use of lockfile API</title>
<updated>2008-01-16T23:35:35Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-01-16T19:12:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4ed7cd3ab07f7c721daf4241fe1dac306fefd1fb'/>
<id>urn:sha1:4ed7cd3ab07f7c721daf4241fe1dac306fefd1fb</id>
<content type='text'>
Remove remaining double close(2)'s.  i.e. close() before
commit_locked_index() or commit_lock_file().

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
