<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/update-cache.c, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2005-09-08T00:45:20Z</updated>
<entry>
<title>Big tool rename.</title>
<updated>2005-09-08T00:45:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-08T00:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7'/>
<id>urn:sha1:215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7</id>
<content type='text'>
As promised, this is the "big tool rename" patch.  The primary differences
since 0.99.6 are:

  (1) git-*-script are no more.  The commands installed do not
      have any such suffix so users do not have to remember if
      something is implemented as a shell script or not.

  (2) Many command names with 'cache' in them are renamed with
      'index' if that is what they mean.

There are backward compatibility symblic links so that you and
Porcelains can keep using the old names, but the backward
compatibility support  is expected to be removed in the near
future.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Explain what went wrong on update-cache of new file</title>
<updated>2005-09-02T04:45:00Z</updated>
<author>
<name>Amos Waterland</name>
<email>apw@rossby.metr.ou.edu</email>
</author>
<published>2005-09-01T14:13:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=89bc8c785e20258efba3b2b5ffc26098fa0b8bc8'/>
<id>urn:sha1:89bc8c785e20258efba3b2b5ffc26098fa0b8bc8</id>
<content type='text'>
If somebody tries to run `git update-cache foo', where foo is a new
file, git dies with a rather cryptic error message:

 fatal: Unable to add foo to database

This trivial patch makes git explain what probably went wrong.  It is
not a perfect diagnosis of all error paths, but for 90% of the cases it
should provide the user with the clue they need.

[jc: I ended up wording slightly differently, and fixed another
 confusing error message I noticed while reviewing the code.]

Signed-off-by: Amos Waterland &lt;apw@rossby.metr.ou.edu&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make git-update-cache take relative pathnames</title>
<updated>2005-08-17T21:53:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-08-17T20:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=cfb0af1d50247e66ea1d46014650e60e9cfb87b9'/>
<id>urn:sha1:cfb0af1d50247e66ea1d46014650e60e9cfb87b9</id>
<content type='text'>
This also makes "./filename" acceptable as a side effect, since the
pathname normalization handles that too.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Use SHA1 for git-update-cache --refresh</title>
<updated>2005-07-09T00:07:37Z</updated>
<author>
<name>Bryan Larsen</name>
<email>bryan.larsen@gmail.com</email>
</author>
<published>2005-07-08T23:52:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=69a97f1d9bb9455b634564e91f33479ffc35c02b'/>
<id>urn:sha1:69a97f1d9bb9455b634564e91f33479ffc35c02b</id>
<content type='text'>
Change git-update-cache --refresh behaviour to use sha1's rather than
comparing byte by byte.

[JC demangled whitespace from the posted patch himself because he
 liked it so much.  Also adjusted to the index_fd() interface
 slightly done differently from the original one.]

Signed-off-by: Bryan Larsen &lt;bryan.larsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add --info-only option to git-update-cache.</title>
<updated>2005-07-09T00:07:37Z</updated>
<author>
<name>Bryan Larsen</name>
<email>bryan.larsen@gmail.com</email>
</author>
<published>2005-07-08T23:52:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=df6e151636992edc5824af53b62b451737b0d24d'/>
<id>urn:sha1:df6e151636992edc5824af53b62b451737b0d24d</id>
<content type='text'>
Add --info-only option to git-update-cache.

[JC demangled whitespace from the posted patch himself because he
 liked it so much.  Also adjusted to the index_fd() interface
 slightly done differently from the original one.]

Signed-off-by: Bryan Larsen &lt;bryan.larsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Expose object ID computation functions.</title>
<updated>2005-07-09T00:07:37Z</updated>
<author>
<name>Bryan Larsen</name>
<email>bryan.larsen@gmail.com</email>
</author>
<published>2005-07-08T23:51:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7672db20c2060f20b01788e4a4289ebc5f818605'/>
<id>urn:sha1:7672db20c2060f20b01788e4a4289ebc5f818605</id>
<content type='text'>
This patch makes the first half of write_sha1_file() and
index_fd() externally visible, to allow callers to compute the
object ID without actually storing it in the object database.

[JC demangled the whitespaces himself because he liked the patch
 so much, and reworked the interface to index_fd() slightly,
 taking suggestion from Linus and of his own.]

Signed-off-by: Bryan Larsen &lt;bryan.larsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Add "-q" flag to git-update-cache</title>
<updated>2005-06-21T04:18:54Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-21T04:18:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0ed3715ffc97325a625e1e4ef44121d870b98679'/>
<id>urn:sha1:0ed3715ffc97325a625e1e4ef44121d870b98679</id>
<content type='text'>
It suppresses the "needs update" message for subsequent "--refresh"
cases (but not other errors).

Will be useful for "git commit". Stay tuned.
</content>
</entry>
<entry>
<title>[PATCH] Make git-update-cache --force-remove regular</title>
<updated>2005-06-05T23:57:23Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@ucw.cz</email>
</author>
<published>2005-05-31T16:52:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9b63f50148bd155c00b6893dbbf48583f7b0848d'/>
<id>urn:sha1:9b63f50148bd155c00b6893dbbf48583f7b0848d</id>
<content type='text'>
Make the --force-remove flag behave same as --add, --remove and
--replace. This means I can do

	git-update-cache --force-remove -- file1.c file2.c

which is probably saner and also makes it easier to use in cg-rm.

Signed-off-by: Petr Baudis &lt;pasky@ucw.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>git-update-cache: allow dot-files</title>
<updated>2005-05-24T21:40:28Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-24T21:40:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=320d3a1b1aa04d75f0aaff3cc7cf582e144a84c6'/>
<id>urn:sha1:320d3a1b1aa04d75f0aaff3cc7cf582e144a84c6</id>
<content type='text'>
We still refuse to add ".", ".." and ".git".

In theory, you could track another git-repository by allowing ".git",
but the potential for confusion is just too high.
</content>
</entry>
<entry>
<title>sparse cleanup</title>
<updated>2005-05-20T18:46:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-20T18:46:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e99d59ff0bff349ef205cef1076e0354c8130680'/>
<id>urn:sha1:e99d59ff0bff349ef205cef1076e0354c8130680</id>
<content type='text'>
Fix various things that sparse complains about:
 - use NULL instead of 0
 - make sure we declare everything properly, or mark it static
 - use proper function declarations ("fn(void)" instead of "fn()")

Sparse is always right.
</content>
</entry>
</feed>
