{"thread":{"id":"219","subject":"[PATCH 10/19] migrate check-files.c to the new cache api's","startedAt":"2005-04-21T18:36:59Z","lastAt":"2005-04-21T18:36:59Z","messageCount":1,"participants":["Brad Roberts"],"isPatch":true,"patchVersion":1,"patchTotal":19},"messages":[{"id":"1168","messageId":"200504211836.j3LIaxuE027588@gameboy2.puremagic.com","threadId":"219","inReplyTo":null,"subject":"[PATCH 10/19] migrate check-files.c to the new cache api's","fromName":"Brad Roberts","fromEmail":"braddr@gameboy2.puremagic.com","sentAt":"2005-04-21T18:36:59Z","receivedAt":"2005-04-21T18:36:59Z","isPatch":true,"sender":{"key":"braddr@gameboy2.puremagic.com","avatar":null},"body":"tree 54aca1a1c5f41995c79fdf6b5f720574d0bfd8ef\nparent 50a6596bf7f51ecd598cd02d9c44379a9b92044a\nauthor Brad Roberts <braddr@puremagic.com> 1114077105 -0700\ncommitter Brad Roberts <braddr@gameboy2.puremagic.com> 1114077105 -0700\n\n[PATCH] migrate check-files.c to the new cache api's\n\nSigned-off-by: Brad Roberts <braddr@puremagic.com>\n---\n\n check-files.c |    2 +-\n 1 files changed, 1 insertion(+), 1 deletion(-)\n\nIndex: check-files.c\n===================================================================\n--- 50a6596bf7f51ecd598cd02d9c44379a9b92044a:1/check-files.c  (mode:100644 sha1:7d16691aa9d51b5b4670d5837b3527ee7c7da79c)\n+++ a94803645fb68119be8835d466585c91e664a173:1/check-files.c  (mode:100644 sha1:919e418b5f0f85220445c876a37bf4cf61d26525)\n@@ -26,7 +26,7 @@\n \tpos = cache_name_pos(path, strlen(path));\n \tif (pos < 0)\n \t\tdie(\"preparing to update existing file '%s' not in cache\", path);\n-\tce = active_cache[pos];\n+\tce = get_cache_entry(pos);\n \n \tif (fstat(fd, &st) < 0)\n \t\tdie(\"fstat(%s): %s\", path, strerror(errno));\n\n"}]}