<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/shallow.c, branch v1.8.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.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-01-11T17:10:57Z</updated>
<entry>
<title>upload-pack: fix off-by-one depth calculation in shallow clone</title>
<updated>2013-01-11T17:10:57Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-01-11T09:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=682c7d2f1a2d1a5443777237450505738af2ff1a'/>
<id>urn:sha1:682c7d2f1a2d1a5443777237450505738af2ff1a</id>
<content type='text'>
get_shallow_commits() is used to determine the cut points at a given
depth (i.e. the number of commits in a chain that the user likes to
get). However we count current depth up to the commit "commit" but we
do the cutting at its parents (i.e. current depth + 1). This makes
upload-pack always return one commit more than requested. This patch
fixes it.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>object.h: Add OBJECT_ARRAY_INIT macro and make use of it.</title>
<updated>2010-08-30T05:42:49Z</updated>
<author>
<name>Thiago Farina</name>
<email>tfransosi@gmail.com</email>
</author>
<published>2010-08-29T02:04:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3cd474599f1ede41863c523ddf76c94941b08164'/>
<id>urn:sha1:3cd474599f1ede41863c523ddf76c94941b08164</id>
<content type='text'>
Signed-off-by: Thiago Farina &lt;tfransosi@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mk/maint-parse-careful'</title>
<updated>2008-02-19T04:56:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-02-19T04:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ee4f06c0a60d8b17efdd8f6a3332f175f6aafe0e'/>
<id>urn:sha1:ee4f06c0a60d8b17efdd8f6a3332f175f6aafe0e</id>
<content type='text'>
* mk/maint-parse-careful:
  peel_onion: handle NULL
  check return value from parse_commit() in various functions
  parse_commit: don't fail, if object is NULL
  revision.c: handle tag-&gt;tagged == NULL
  reachable.c::process_tree/blob: check for NULL
  process_tag: handle tag-&gt;tagged == NULL
  check results of parse_commit in merge_bases
  list-objects.c::process_tree/blob: check for NULL
  reachable.c::add_one_tree: handle NULL from lookup_tree
  mark_blob/tree_uninteresting: check for NULL
  get_sha1_oneline: check return value of parse_object
  read_object_with_reference: don't read beyond the buffer
</content>
</entry>
<entry>
<title>check return value from parse_commit() in various functions</title>
<updated>2008-02-19T04:49:13Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2008-02-18T20:48:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dec38c81657f02624752a65c24d72613316713f5'/>
<id>urn:sha1:dec38c81657f02624752a65c24d72613316713f5</id>
<content type='text'>
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>deref_tag: handle return value NULL</title>
<updated>2008-02-18T07:46:55Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2008-02-18T07:31:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=affeef12fb2d10317fbcc7a866fbc3603cf16119'/>
<id>urn:sha1:affeef12fb2d10317fbcc7a866fbc3603cf16119</id>
<content type='text'>
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>War on whitespace</title>
<updated>2007-06-07T07:04:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-06-07T07:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a6080a0a44d5ead84db3dabbbc80e82df838533d'/>
<id>urn:sha1:a6080a0a44d5ead84db3dabbbc80e82df838533d</id>
<content type='text'>
This uses "git-apply --whitespace=strip" to fix whitespace errors that have
crept in to our source files over time.  There are a few files that need
to have trailing whitespaces (most notably, test vectors).  The results
still passes the test, and build result in Documentation/ area is unchanged.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>is_repository_shallow(): prototype fix.</title>
<updated>2007-01-22T06:22:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-22T06:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f43117a6c134f3b7873983eae0df1cc14b270ff1'/>
<id>urn:sha1:f43117a6c134f3b7873983eae0df1cc14b270ff1</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>get_shallow_commits: Avoid memory leak if a commit has been reached already.</title>
<updated>2006-11-24T23:42:50Z</updated>
<author>
<name>Alexandre Julliard</name>
<email>julliard@winehq.org</email>
</author>
<published>2006-11-24T14:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d64d6c9fc712cf6fad9a3ec7f659cf843ee2e18d'/>
<id>urn:sha1:d64d6c9fc712cf6fad9a3ec7f659cf843ee2e18d</id>
<content type='text'>
Signed-off-by: Alexandre Julliard &lt;julliard@winehq.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Shallow clone: do not ignore shallowness when following tags</title>
<updated>2006-11-24T23:42:49Z</updated>
<author>
<name>Alexandre Julliard</name>
<email>julliard@winehq.org</email>
</author>
<published>2006-11-11T13:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=abef3a1625b7aff168a5fa062432dc6ef2006963'/>
<id>urn:sha1:abef3a1625b7aff168a5fa062432dc6ef2006963</id>
<content type='text'>
Tags should be considered when truncating the
commit list. The patch below fixes it, and fetches the right number of
commits for each tag. However the correct fix is probably to not fetch
historical tags at all.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>allow deepening of a shallow repository</title>
<updated>2006-11-24T23:42:49Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-10-30T19:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f53514bc2d82f2f5cc7b447575e74aa266ed46f0'/>
<id>urn:sha1:f53514bc2d82f2f5cc7b447575e74aa266ed46f0</id>
<content type='text'>
Now, by saying "git fetch -depth &lt;n&gt; &lt;repo&gt;" you can deepen
a shallow repository.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
