Re: [PATCH 1/3] index-helper: fix UNIX_PATH_MAX redefinition error on cygwin

2016-04-11 Thread David Turner
On Mon, 2016-04-11 at 14:30 +0100, Ramsay Jones wrote: > > On 11/04/16 05:20, Torsten Bögershausen wrote: > > On 04/11/2016 12:59 AM, Ramsay Jones wrote: > > The header mentions cygwin, but changes it for linux, BSD and Mac > > OS as well. > > Is this intentional ? > > Yes. I only compile on 32/6

Re: [PATCH 1/3] index-helper: fix UNIX_PATH_MAX redefinition error on cygwin

2016-04-11 Thread Ramsay Jones
On 11/04/16 05:20, Torsten Bögershausen wrote: > On 04/11/2016 12:59 AM, Ramsay Jones wrote: > The header mentions cygwin, but changes it for linux, BSD and Mac OS as well. > Is this intentional ? Yes. I only compile on 32/64-bit linux and 64-bit cygwin these days, so I only noticed the warnings

Re: [PATCH 1/3] index-helper: fix UNIX_PATH_MAX redefinition error on cygwin

2016-04-10 Thread Torsten Bögershausen
On 04/11/2016 12:59 AM, Ramsay Jones wrote: The header mentions cygwin, but changes it for linux, BSD and Mac OS as well. Is this intentional ? Signed-off-by: Ramsay Jones --- git-compat-util.h | 17 - index-helper.c| 4 ++-- read-cache.c | 2 +- 3 files changed

[PATCH 1/3] index-helper: fix UNIX_PATH_MAX redefinition error on cygwin

2016-04-10 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- git-compat-util.h | 17 - index-helper.c| 4 ++-- read-cache.c | 2 +- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/git-compat-util.h b/git-compat-util.h index 0e35c13..c90c8c6 100644 --- a/git-compat-util.h +++ b/git-