aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-20 19:56:28 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-20 19:56:28 -0700
commit5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3 (patch)
treee0df6ea92088f865a9cd9110ec95db7e9ac100f2
parent0cb21911f49176866ee5170e292d351f4697634e (diff)
downloadgit-5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3.tar.gz
git-5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3.tar.xz
annotate: make it work from subdirectories.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 7def319e6..3d0754cba 100644
--- a/git.c
+++ b/git.c
@@ -225,7 +225,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
int option;
} commands[] = {
{ "add", cmd_add, RUN_SETUP | NOT_BARE },
- { "annotate", cmd_annotate, USE_PAGER },
+ { "annotate", cmd_annotate, RUN_SETUP | USE_PAGER },
{ "apply", cmd_apply },
{ "archive", cmd_archive },
{ "blame", cmd_blame, RUN_SETUP },