<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/object.c, branch v1.6.5.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.5.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.5.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2009-06-01T00:02:59Z</updated>
<entry>
<title>object: call "check_sha1_signature" with the replacement sha1</title>
<updated>2009-06-01T00:02:59Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-01-23T09:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0e87c36763a384d5bf6fae4bda44fd035c0b75ff'/>
<id>urn:sha1:0e87c36763a384d5bf6fae4bda44fd035c0b75ff</id>
<content type='text'>
Otherwise we get a "sha1 mismatch" error for replaced objects.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Unify signedness in hashing calls</title>
<updated>2009-05-20T07:02:24Z</updated>
<author>
<name>Dan McGee</name>
<email>dpmcgee@gmail.com</email>
</author>
<published>2009-05-19T04:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=91fe2f909154c5cda3b40c68e72c3172a7f137f6'/>
<id>urn:sha1:91fe2f909154c5cda3b40c68e72c3172a7f137f6</id>
<content type='text'>
Our hash_obj and hashtable_index calls and functions were doing a lot of
funny things with signedness. Unify all of it to 'unsigned int'.

Signed-off-by: Dan McGee &lt;dpmcgee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix type-punning issues</title>
<updated>2009-05-17T05:41:18Z</updated>
<author>
<name>Dan McGee</name>
<email>dpmcgee@gmail.com</email>
</author>
<published>2009-05-12T01:17:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b867d324ceb7e5c4f14a04c6b55d69498812d24b'/>
<id>urn:sha1:b867d324ceb7e5c4f14a04c6b55d69498812d24b</id>
<content type='text'>
In these two places we are casting part of our unsigned char sha1 array into
an unsigned int, which violates GCCs strict-aliasing rules (and probably
other compilers).

Signed-off-by: Dan McGee &lt;dpmcgee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</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://git.stealer.net/cgit.cgi/user/sven/git.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>parse_object_buffer: don't ignore errors from the object specific parsing functions</title>
<updated>2008-02-04T00:04:57Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2008-02-03T21:22:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d0b8c9e561ea427104611bf392598a398c18d7cb'/>
<id>urn:sha1:d0b8c9e561ea427104611bf392598a398c18d7cb</id>
<content type='text'>
In the case of an malformed object, the object specific parsing functions
would return an error, which is currently ignored. The object can be partial
initialized in this case.

This patch make parse_object_buffer propagate such errors.

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>Don't dereference NULL upon lookup failure.</title>
<updated>2007-12-22T19:15:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2007-12-21T10:56:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cc216827936e40bc2e8886623fd44f55e0674932'/>
<id>urn:sha1:cc216827936e40bc2e8886623fd44f55e0674932</id>
<content type='text'>
Instead, signal the error just like the case we do upon encountering
an object with an unknown type.

Signed-off-by: Jim Meyering &lt;meyering@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Don't assume tree entries that are not dirs are blobs</title>
<updated>2007-06-06T22:43:18Z</updated>
<author>
<name>Sam Vilain</name>
<email>sam.vilain@catalyst.net.nz</email>
</author>
<published>2007-06-06T10:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e2ac7cb5fbcf1407003aa07cdcd14141527ea2e3'/>
<id>urn:sha1:e2ac7cb5fbcf1407003aa07cdcd14141527ea2e3</id>
<content type='text'>
When scanning the trees in track_tree_refs() there is a "lazy" test
that assumes that entries are either directories or files.  Don't do
that.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.5.1' into maint</title>
<updated>2007-05-25T02:01:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-05-25T02:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=76026200eee9fea016c2d87f472bb13cb15f47b2'/>
<id>urn:sha1:76026200eee9fea016c2d87f472bb13cb15f47b2</id>
<content type='text'>
* maint-1.5.1:
  fix memory leak in parse_object when check_sha1_signature fails
  name-rev: tolerate clock skew in committer dates
</content>
</entry>
<entry>
<title>fix memory leak in parse_object when check_sha1_signature fails</title>
<updated>2007-05-25T01:56:06Z</updated>
<author>
<name>Carlos Rica</name>
<email>jasampler@gmail.com</email>
</author>
<published>2007-05-25T01:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0b1f113075aafb0c91a406d984d0152e55c981da'/>
<id>urn:sha1:0b1f113075aafb0c91a406d984d0152e55c981da</id>
<content type='text'>
When check_sha1_signature fails, program is not terminated:
it prints an error message and returns NULL, so the
buffer returned by read_sha1_file should be freed before.

Signed-off-by: Carlos Rica &lt;jasampler@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>add add_object_array_with_mode</title>
<updated>2007-04-24T07:08:49Z</updated>
<author>
<name>Martin Koegler</name>
<email>mkoegler@auto.tuwien.ac.at</email>
</author>
<published>2007-04-22T16:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e5709a4a6809e45bf59b851debf24a813e1c6b58'/>
<id>urn:sha1:e5709a4a6809e45bf59b851debf24a813e1c6b58</id>
<content type='text'>
Each object in struct object_array is extended with the mode.
If not specified, S_IFINVALID is used. An object with an mode value
can be added with add_object_array_with_mode.

Signed-off-by: Martin Koegler &lt;mkoegler@auto.tuwien.ac.at&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
