{"thread":{"id":"10434","subject":"Re: [PATCH] use only the PATH for exec'ing git commands","startedAt":"2007-10-22T19:59:06Z","lastAt":"2007-10-22T19:59:06Z","messageCount":1,"participants":["Scott R Parish"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"56912","messageId":"1193083146.v2.fusewebmail-240137@f","threadId":"10434","inReplyTo":null,"subject":"Re: [PATCH] use only the PATH for exec'ing git commands","fromName":"Scott R Parish","fromEmail":"srp@srparish.net","sentAt":"2007-10-22T19:59:06Z","receivedAt":"2007-10-22T19:59:06Z","isPatch":true,"sender":{"key":"srp@srparish.net","avatar":"https://gravatar.com/avatar/870e5b6fc4f710cf4db5684bd9af7f2cee5734b3dab3209b13e00cf64f6c9f0e?d=mp&s=160"},"body":"\n> Alex Reisen, Mon, Oct 22, 2007 12:01:\n> > +                strbuf_addch(out, ':');\n>\n> Shouldn't it break MingW32 native port?\n>\n\n<snip>\n\n> > +        if (old_path)\n> > +                strbuf_addstr(&amp;new_path, old_path);\n> > +        else\n> > +                strbuf_addstr(&amp;new_path,\n\"/usr/local/bin:/usr/bin:/bin\");\n>\n> the default PATH is platform-dependent. Git is multi-platform.\n> You should consider putting the path list somewhere in Makefile,\n> config.mak or configure.\n>\n\nThe original code was already doing both of these things (see git.c's\nprepend_to_path())\n\nsRp\n"}]}