Re: [PATCH 08/12] MINGW: fix main() signature in http-fetch.c and remote-curl.c
- From
Marat Radchenko <marat@slonopotamus.org>
- Date
- May 3, 2014, 07:43 UTC
- Message-ID
- <20140503074341.GA8960@seldon>
- In-Reply-To
- <5360B5EC.1070907@gmail.com>
On Wed, Apr 30, 2014 at 10:35:56AM +0200, Karsten Blees wrote:
Show 15 quoted lines
> Am 29.04.2014 11:12, schrieb Marat Radchenko: > > On MinGW, compat/mingw.h defines a 'mingw_main' wrapper function. > > Fix `warning: passing argument 2 of 'mingw_main' from incompatible > > pointer type` in http-fetch.c and remote-curl.c by dropping 'const'. > > > > Would you mind cross checking your changes with the msysgit fork? > Fixing the same thing in a slightly different manner will just cause > unnecessary conflicts (i.e. unnecessary work for the Git for Windows > maintainers, as well as for you to come up with an alternate solution > for something that's long been fixed). > > See https://github.com/msysgit/git/commit/9206e7fd (squashed from > https://github.com/msysgit/git/commit/0115ef83 and > https://github.com/msysgit/git/commit/6949537a).
6949537a is just an unnecessary hack and would have to be rewritten no matter who would try to submit it upstream.