{"thread":{"id":"40892","subject":"[PATCH] builtin/ff-refs.c: mark some file-local variables static","startedAt":"2015-11-25T22:01:50Z","lastAt":"2015-11-25T22:01:50Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"273769","messageId":"56562FCE.7090007@ramsayjones.plus.com","threadId":"40892","inReplyTo":null,"subject":"[PATCH] builtin/ff-refs.c: mark some file-local variables static","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2015-11-25T22:01:50Z","receivedAt":"2015-11-25T22:01:50Z","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 Michael,\n\nIf you need to re-roll the patches in your 'mr/ff-refs' branch,\ncould you please squash parts of this patch into the relevant\npatches from your branch.\n\nThanks.\n\nAlso, I note that gcc complains about the two calls to chdir().\n(warning: ignoring return value of ‘chdir’, declared with\nattribute warn_unused_result [-Wunused-result])\n\nATB,\nRamsay Jones\n\n builtin/ff-refs.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)\n\ndiff --git a/builtin/ff-refs.c b/builtin/ff-refs.c\nindex ae68cfb..db8c378 100644\n--- a/builtin/ff-refs.c\n+++ b/builtin/ff-refs.c\n@@ -5,10 +5,10 @@\n #include \"run-command.h\"\n #include \"worktree.h\"\n \n-int dry_run = 0;\n-int no_wt = 0;\n-struct worktree **worktrees;\n-const char *padding = \".....................................................\";\n+static int dry_run = 0;\n+static int no_wt = 0;\n+static struct worktree **worktrees;\n+static const char *padding = \".....................................................\";\n \n static const char * const builtin_ff_refs_usage[] = {\n \tN_(\"git ff-refs [<options>]\"),\n-- \n2.6.0\n"}]}