summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-21 02:56:28 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-21 02:56:28 (GMT)
commit5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3 (patch)
treee0df6ea92088f865a9cd9110ec95db7e9ac100f2 /git.c
parent0cb21911f49176866ee5170e292d351f4697634e (diff)
downloadgit-5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3.zip
git-5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3.tar.gz
git-5b6dedd6a0b7566f7e8466b6aefe8f019c52f5d3.tar.bz2
annotate: make it work from subdirectories.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 7def319..3d0754c 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 },