{"thread":{"id":"5195","subject":"[PATCH] repo-config needs a prefix.","startedAt":"2006-08-10T09:41:55Z","lastAt":"2006-08-10T09:41:55Z","messageCount":1,"participants":["Robert Shearman"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"25080","messageId":"44DAFF63.8010800@codeweavers.com","threadId":"5195","inReplyTo":null,"subject":"[PATCH] repo-config needs a prefix.","fromName":"Robert Shearman","fromEmail":"rob@codeweavers.com","sentAt":"2006-08-10T09:41:55Z","receivedAt":"2006-08-10T09:41:55Z","isPatch":true,"sender":{"key":"robertshearman@gmail.com","avatar":null},"body":"\nThis fixes the message received when invoking certain commands from \noutside of a git tree, so e.g. instead of receiving this:\n/home/rob/bin/git-fetch: line 89: /FETCH_HEAD: Permission denied\nWe get this again:\nfatal: Not a git repository: '.git'\nSigned-off-by: Robert Shearman <rob@codeweavers.com>\n---\n  git.c |    2 +-\n  1 files changed, 1 insertions(+), 1 deletions(-)\n\nThis time with Signed-off-by line.\n\n\ndiff --git a/git.c b/git.c\nindex 18ba14a..f9c76a1 100644\n--- a/git.c\n+++ b/git.c\n@@ -264,7 +264,7 @@ static void handle_internal_command(int \n \t\t{ \"prune\", cmd_prune, NEEDS_PREFIX },\n \t\t{ \"mv\", cmd_mv, NEEDS_PREFIX },\n \t\t{ \"prune-packed\", cmd_prune_packed, NEEDS_PREFIX },\n-\t\t{ \"repo-config\", cmd_repo_config },\n+\t\t{ \"repo-config\", cmd_repo_config, NEEDS_PREFIX },\n \t};\n \tint i;\n \n\n"}]}