From: Robert Shearman Date: Thu, 10 Aug 2006 09:41:55 GMT Subject: [PATCH] repo-config needs a prefix. Message-ID: <44DAFF63.8010800@codeweavers.com> This fixes the message received when invoking certain commands from outside of a git tree, so e.g. instead of receiving this: /home/rob/bin/git-fetch: line 89: /FETCH_HEAD: Permission denied We get this again: fatal: Not a git repository: '.git' Signed-off-by: Robert Shearman --- git.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) This time with Signed-off-by line. diff --git a/git.c b/git.c index 18ba14a..f9c76a1 100644 --- a/git.c +++ b/git.c @@ -264,7 +264,7 @@ static void handle_internal_command(int { "prune", cmd_prune, NEEDS_PREFIX }, { "mv", cmd_mv, NEEDS_PREFIX }, { "prune-packed", cmd_prune_packed, NEEDS_PREFIX }, - { "repo-config", cmd_repo_config }, + { "repo-config", cmd_repo_config, NEEDS_PREFIX }, }; int i;