From: Junio C Hamano Date: Thu, 28 Feb 2008 02:17:42 GMT Subject: Re: [PATCH 6/9] Completely move out worktree setup from setup_git_directory_gently() Message-ID: <7vy795lt89.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080227163934.GA28084@laptop> Nguyễn Thái Ngọc Duy writes: > - prefix = setup_git_directory_gently(&nongit); > - init_revisions(&rev, prefix); > + setup_git_directory_gently(&nongit); > + init_revisions(&rev, NULL); > @@ -233,19 +233,20 @@ int cmd_diff(int argc, const char **argv, const char *prefix) > ... > - init_revisions(&rev, prefix); > + init_revisions(&rev, NULL); Hmm. How is the effect of this change compensated later to give proper prefix value to rev.diffopt.prefix?