{"thread":{"id":"7925","subject":"[PATCH] Fix compilation of test-delta","startedAt":"2007-05-01T09:47:55Z","lastAt":"2007-05-01T10:08:06Z","messageCount":2,"participants":["Martin Koegler","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"40812","messageId":"11780128752722-git-send-email-mkoegler@auto.tuwien.ac.at","threadId":"7925","inReplyTo":null,"subject":"[PATCH] Fix compilation of test-delta","fromName":"Martin Koegler","fromEmail":"mkoegler@auto.tuwien.ac.at","sentAt":"2007-05-01T09:47:55Z","receivedAt":"2007-05-01T09:47:55Z","isPatch":true,"sender":{"key":"mkoegler@auto.tuwien.ac.at","avatar":null},"body":"Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>\n---\n test-delta.c |    5 +++--\n 1 files changed, 3 insertions(+), 2 deletions(-)\n\ndiff --git a/test-delta.c b/test-delta.c\nindex 16595ef..3d885ff 100644\n--- a/test-delta.c\n+++ b/test-delta.c\n@@ -10,8 +10,9 @@\n \n #include \"git-compat-util.h\"\n #include \"delta.h\"\n+#include \"cache.h\"\n \n-static const char usage[] =\n+static const char usage_str[] =\n \t\"test-delta (-d|-p) <from_file> <data_file> <out_file>\";\n \n int main(int argc, char *argv[])\n@@ -22,7 +23,7 @@ int main(int argc, char *argv[])\n \tunsigned long from_size, data_size, out_size;\n \n \tif (argc != 5 || (strcmp(argv[1], \"-d\") && strcmp(argv[1], \"-p\"))) {\n-\t\tfprintf(stderr, \"Usage: %s\\n\", usage);\n+\t\tfprintf(stderr, \"Usage: %s\\n\", usage_str);\n \t\treturn 1;\n \t}\n \n-- \n1.4.4.4\n"},{"id":"40813","messageId":"7vtzuw6em1.fsf@assigned-by-dhcp.cox.net","threadId":"7925","inReplyTo":"11780128752722-git-send-email-mkoegler@auto.tuwien.ac.at","subject":"Re: [PATCH] Fix compilation of test-delta","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-05-01T10:08:06Z","receivedAt":"2007-05-01T10:08:06Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}