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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 28, 2008 at 9:17 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:> Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> 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?>
I assume you meant rev.prefix? rev.prefix is set right beforesetup_revisions(). (grr.. I think I left an redundantrev.diffopt.skip_stat_unmatch assignment)-- Duy���m�ka����zwm���˛��m���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux