{"thread":{"id":"18403","subject":"[PATCH] git clone needs to know executability of template files","startedAt":"2009-03-19T10:28:25Z","lastAt":"2009-03-19T10:57:43Z","messageCount":2,"participants":["Alex Riesen","Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"108506","messageId":"81b0412b0903190328n17007b4alcf5d91db562db62b@mail.gmail.com","threadId":"18403","inReplyTo":null,"subject":"[PATCH] git clone needs to know executability of template files","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2009-03-19T10:28:25Z","receivedAt":"2009-03-19T10:28:25Z","isPatch":true,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Use posix_lstat for template source.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n---\n builtin-init-db.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n\nFrom e7b9002e3157607aa251b85e4f94f5866d9bf375 Mon Sep 17 00:00:00 2001\nFrom: Alex Riesen <raa.lkml@gmail.com>\nDate: Thu, 19 Mar 2009 11:17:59 +0100\nSubject: [PATCH 2/4] git clone needs to know executability of template files\n\nUse posix_lstat for template source.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n---\n builtin-init-db.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-init-db.c b/builtin-init-db.c\nindex ee3911f..0b6dc16 100644\n--- a/builtin-init-db.c\n+++ b/builtin-init-db.c\n@@ -66,7 +66,7 @@ static void copy_templates_1(char *path, int baselen,\n \t\telse\n \t\t\texists = 1;\n \n-\t\tif (lstat(template, &st_template))\n+\t\tif (posix_lstat(template, &st_template))\n \t\t\tdie(\"cannot stat template %s\", template);\n \n \t\tif (S_ISDIR(st_template.st_mode)) {\n-- \n1.6.2.142.gaf8db\n\n"},{"id":"108511","messageId":"alpine.DEB.1.00.0903191157120.10279@pacific.mpi-cbg.de","threadId":"18403","inReplyTo":"81b0412b0903190328n17007b4alcf5d91db562db62b@mail.gmail.com","subject":"Re: [PATCH] git clone needs to know executability of template files","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-03-19T10:57:43Z","receivedAt":"2009-03-19T10:57:43Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 19 Mar 2009, Alex Riesen wrote:\n\n> Use posix_lstat for template source.\n> \n> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>\n> ---\n\nAs this patch builds on top of your earlier patch, you should have made a \npatch series.\n\nBut as I said, I think it is wrong.\n\nCiao,\nDscho\n"}]}