{"thread":{"id":"44801","subject":"[PATCH] read-cache: mark a file-local symbol with static","startedAt":"2017-01-01T17:10:44Z","lastAt":"2017-01-01T17:10:44Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"308581","messageId":"a1a44640-ff6c-2294-72ac-46322eff8505@ramsayjones.plus.com","threadId":"44801","inReplyTo":null,"subject":"[PATCH] read-cache: mark a file-local symbol with static","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2017-01-01T17:10:33Z","receivedAt":"2017-01-01T17:10:44Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>\n---\n\nHi Christian,\n\nIf you need to re-roll your 'cc/split-index-config' branch, could\nyou please squash this into the relevant patch (commit 8a7e3ef9a6,\n\"read-cache: touch shared index files when used\", 26-12-2016).\n\nThanks!\n\nATB,\nRamsay Jones\n\n read-cache.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/read-cache.c b/read-cache.c\nindex 119701bf0..17b9f2461 100644\n--- a/read-cache.c\n+++ b/read-cache.c\n@@ -1682,7 +1682,7 @@ int do_read_index(struct index_state *istate, const char *path, int must_exist)\n  * for some time. It's ok to fail to update the mtime if we are on a\n  * read only file system.\n  */\n-void freshen_shared_index(char *base_sha1_hex)\n+static void freshen_shared_index(char *base_sha1_hex)\n {\n \tconst char *shared_index = git_path(\"sharedindex.%s\", base_sha1_hex);\n \tcheck_and_freshen_file(shared_index, 1);\n-- \n2.11.0\n"}]}