<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/hash-object.c, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-03-05T23:58:42Z</updated>
<entry>
<title>Merge branch 'en/maint-hash-object'</title>
<updated>2009-03-05T23:58:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-05T23:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8cc3fe45c92a2e85400a6ee83c3b3a4a8ca1d6c7'/>
<id>urn:sha1:8cc3fe45c92a2e85400a6ee83c3b3a4a8ca1d6c7</id>
<content type='text'>
* en/maint-hash-object:
  Ensure proper setup of git_dir for git-hash-object

Conflicts:
	hash-object.c
</content>
</entry>
<entry>
<title>Ensure proper setup of git_dir for git-hash-object</title>
<updated>2009-02-28T22:09:46Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2009-02-28T19:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=272459a3b809db19d15131eb5df9dfe939af9c8c'/>
<id>urn:sha1:272459a3b809db19d15131eb5df9dfe939af9c8c</id>
<content type='text'>
Call setup_git_directory() before git_config() to make sure git_dir is set
to the proper value.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add calls to git_extract_argv0_path() in programs that call git_config_*</title>
<updated>2009-01-26T08:26:05Z</updated>
<author>
<name>Steffen Prohaska</name>
<email>prohaska@zib.de</email>
</author>
<published>2009-01-18T12:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2fb3f6db96492b680899f9e40f434eeb4c778a84'/>
<id>urn:sha1:2fb3f6db96492b680899f9e40f434eeb4c778a84</id>
<content type='text'>
Programs that use git_config need to find the global configuration.
When runtime prefix computation is enabled, this requires that
git_extract_argv0_path() is called early in the program's main().

This commit adds the necessary calls.

Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&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:50:02Z</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://git.shady.money/git/commit/?id=42fc1139a07b4292d3e5251c591609126664941a'/>
<id>urn:sha1:42fc1139a07b4292d3e5251c591609126664941a</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

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Replace calls to strbuf_init(&amp;foo, 0) with STRBUF_INIT initializer</title>
<updated>2008-10-12T19:36:19Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-10-09T19:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f285a2d7ed6548666989406de8f0e7233eb84368'/>
<id>urn:sha1:f285a2d7ed6548666989406de8f0e7233eb84368</id>
<content type='text'>
Many call sites use strbuf_init(&amp;foo, 0) to initialize local
strbuf variable "foo" which has not been accessed since its
declaration. These can be replaced with a static initialization
using the STRBUF_INIT macro which is just as readable, saves a
function call, and takes up fewer lines.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>add --no-filters option to git hash-object</title>
<updated>2008-08-03T20:38:22Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-08-03T14:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4a3d85dcf6722b7e5d16b5b1f69b51e39ad5f1dc'/>
<id>urn:sha1:4a3d85dcf6722b7e5d16b5b1f69b51e39ad5f1dc</id>
<content type='text'>
The new option allows the contents to be hashed as is, ignoring any input
filter that would have been chosen by the attributes mechanism.

This option is incompatible with --path and --stdin-paths options.

Signed-off-by: Dmitry Potapov &lt;dpotapov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add --path option to git hash-object</title>
<updated>2008-08-03T20:33:06Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-08-03T14:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39702431500b76425f047209c9e9b2aae7e92b00'/>
<id>urn:sha1:39702431500b76425f047209c9e9b2aae7e92b00</id>
<content type='text'>
The --path option allows us to pretend as if the contents being hashed
came from the specified path, and affects which input filter is used via
the attributes mechanism.  This is useful for hashing a temporary file
whose name is different from the path that is meant to have the hashed
contents.

Signed-off-by: Dmitry Potapov &lt;dpotapov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use parse_options() in git hash-object</title>
<updated>2008-08-03T20:23:54Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-08-03T14:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=548601adcc638d96486e0f2a3dd399d4ca215eca'/>
<id>urn:sha1:548601adcc638d96486e0f2a3dd399d4ca215eca</id>
<content type='text'>
Signed-off-by: Dmitry Potapov &lt;dpotapov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>correct usage help string for git-hash-object</title>
<updated>2008-08-03T20:23:15Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-08-03T14:36:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ae8e008abf2e05dee59142fae068ae1f9004147'/>
<id>urn:sha1:9ae8e008abf2e05dee59142fae068ae1f9004147</id>
<content type='text'>
The usage string is corrected to make it fit in 80 columns and to make it
unequivocal about what options can be used with --stdin-paths.

Signed-off-by: Dmitry Potapov &lt;dpotapov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>teach index_fd to work with pipes</title>
<updated>2008-08-03T20:14:35Z</updated>
<author>
<name>Dmitry Potapov</name>
<email>dpotapov@gmail.com</email>
</author>
<published>2008-08-03T04:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43df4f86e035056605ceb757029181d7ddee1e7e'/>
<id>urn:sha1:43df4f86e035056605ceb757029181d7ddee1e7e</id>
<content type='text'>
index_fd can now work with file descriptors that are not normal files
but any readable file. If the given file descriptor is a regular file
then mmap() is used; for other files, strbuf_read is used.

The path parameter, which has been used as hint for filters, can be
NULL now to indicate that the file should be hashed literally without
any filter.

The index_pipe function is removed as redundant.

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