Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH 6/9] Completely move out worktree setup from setup_git_directory_gently()

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:44:18

Possibly related (same subject, not in this thread)

On Thu, Feb 28, 2008 at 9:17 AM, Junio C Hamano [off-list ref] wrote:
Nguyễn Thái Ngọc Duy [off-list ref] writes:

 > -     prefix = setup_git_directory_gently(&nongit);
 > -     init_revisions(&rev, prefix);
 > +     setup_git_directory_gently(&nongit);
 > +     init_revisions(&rev, NULL);


quoted
@@ -233,19 +233,20 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
 > ...
quoted
-     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?
I assume you meant rev.prefix? rev.prefix is set right before
setup_revisions(). (grr.. I think I left an redundant
rev.diffopt.skip_stat_unmatch assignment)
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help