summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJared Hance <jaredhance@gmail.com>2012-03-02 21:31:13 -0500
committerJunio C Hamano <gitster@pobox.com>2012-03-02 23:31:22 -0800
commit59ca173d034d467ac899684eaf0638b1a5a83c66 (patch)
treec526554bd1ddea8459c8cc12a39adcd5f4333478 /git.c
parent70eb130768d17c33b9efbf60d7953cf6a57daecb (diff)
downloadgit-jh/trace-use-startup-info.tar.gz
Use startup_info->prefix rather than prefix.jh/trace-use-startup-info
In trace_repo_setup, prefix is passed in as startup_info->prefix. But, as indicated but a FIXME comment, trace_repo_setup has access to startup_info. The prefix parameter has therefor been eliminated. Signed-off-by: Jared Hance <jaredhance@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 3805616630..7dcc527655 100644
--- a/git.c
+++ b/git.c
@@ -296,7 +296,7 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
if ((p->option & (RUN_SETUP | RUN_SETUP_GENTLY)) &&
startup_info->have_repository) /* get_git_dir() may set up repo, avoid that */
- trace_repo_setup(prefix);
+ trace_repo_setup();
}
commit_pager_choice();