RE: [PATCH v2] add tests for 'git rebase --keep-empty'

2012-08-10 Thread Joachim Schmitz
Hi folks I'm a brand new subscriper of this mailing list, so please forgive if I violate some protocol or talk about things that had been discussed to death earlier. I'm currently in the process of porting git (1.7.11.4 for now) to the HP NonStop platform and found several issues: - HP NonStop

RE: Porting git to HP NonStop

2012-08-10 Thread Joachim Schmitz
From: git-ow...@vger.kernel.org [mailto:git-ow...@vger.kernel.org] On Behalf Of Joachim Schmitz Sent: Friday, August 10, 2012 5:01 PM To: git@vger.kernel.org Cc: rsbec...@nexbridge.com Subject: RE: [PATCH v2] add tests for 'git rebase --keep-empty' Hi folks I'm a brand new subscriper

RE: Porting to a new platform

2012-08-10 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 10, 2012 6:21 PM To: Joachim Schmitz Cc: git@vger.kernel.org; rsbec...@nexbridge.com Subject: Porting to a new platform Joachim Schmitz j...@schmitz-digital.de writes: - HP NonStop is lacking poll(),... - HP NonStop

RE: Porting git to HP NonStop

2012-08-10 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Friday, August 10, 2012 7:33 PM To: 'Shawn Pearce' Cc: 'git@vger.kernel.org'; 'rsbec...@nexbridge.com' Subject: RE: Porting git to HP NonStop From: Shawn Pearce [mailto:spea...@spearce.org] Sent: Friday, August 10, 2012 6:28

RE: Porting git to HP NonStop

2012-08-14 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Friday, August 10, 2012 10:09 PM To: 'Shawn Pearce' Cc: 'git@vger.kernel.org'; 'rsbec...@nexbridge.com' Subject: RE: Porting git to HP NonStop From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Friday, August 10

RE: git on HP NonStop

2012-08-14 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, August 14, 2012 4:44 PM To: Joachim Schmitz Subject: Re: git on HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: Interesting, I never mentioned Tandem did I, But still you recognized HP NonStop

RE: Porting git to HP NonStop

2012-08-19 Thread Joachim Schmitz
From: Shawn Pearce [mailto:spea...@spearce.org] Sent: Friday, August 10, 2012 7:38 PM To: Joachim Schmitz Cc: git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop On Fri, Aug 10, 2012 at 10:32 AM, Joachim Schmitz j...@schmitz-digital.de wrote: then use `git

RE: Porting git to HP NonStop

2012-08-20 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Sunday, August 19, 2012 7:23 PM To: Joachim Schmitz Cc: 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: Found the problem: our mkdir

RE: git on HP NonStop

2012-08-20 Thread Joachim Schmitz
From: Jan Engelhardt [mailto:jeng...@inai.de] Sent: Sunday, August 19, 2012 6:26 PM To: Joachim Schmitz Cc: 'Junio C Hamano'; git@vger.kernel.org Subject: RE: git on HP NonStop On Tuesday 2012-08-14 17:52, Joachim Schmitz wrote: @@ -98,6 +99,11 @@ #include stdlib.h #include

RE: git on HP NonStop

2012-08-20 Thread Joachim Schmitz
From: Johannes Sixt [mailto:j.s...@viscovery.net] Sent: Monday, August 20, 2012 12:57 PM To: Joachim Schmitz Cc: 'Jan Engelhardt'; 'Junio C Hamano'; git@vger.kernel.org Subject: Re: git on HP NonStop Am 8/20/2012 12:36, schrieb Joachim Schmitz: int var = var; char *othervar = othervar

RE: git on HP NonStop

2012-08-20 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Monday, August 20, 2012 6:30 PM To: Johannes Sixt Cc: Joachim Schmitz; 'Jan Engelhardt'; git@vger.kernel.org Subject: Re: git on HP NonStop Johannes Sixt j.s...@viscovery.net writes: Am 8/20/2012 12:36, schrieb Joachim Schmitz

[PATCH] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-22 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile| 18 ++ compat/win32/poll.c | 8 ++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6b0c961..2af4db3 100644 --- a/Makefile +++ b/Makefile @@ -152,6

[PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-22 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http.c b/http.c index b61ac85..18bc6bf 100644 --- a/http.c +++ b/http.c @@ -806,10 +806,12 @@ static int http_request(const char *url, void *result, int target, int options

[PATCH] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...)

2012-08-22 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- sha1_file.c | 4 1 file changed, 4 insertions(+) diff --git a/sha1_file.c b/sha1_file.c index af5cfbd..76714ad 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -747,6 +747,9 @@ static int open_packed_git_1(struct packed_git *p

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Monday, August 20, 2012 6:54 PM To: Joachim Schmitz Cc: 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: I haven't found any other

RE: git on HP NonStop

2012-08-22 Thread Joachim Schmitz
-Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, August 21, 2012 4:06 AM To: Joachim Schmitz Cc: 'Johannes Sixt'; 'Jan Engelhardt'; git@vger.kernel.org Subject: Re: git on HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: OK, so

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
From: Brandon Casey [mailto:draf...@gmail.com] Sent: Wednesday, August 22, 2012 7:01 PM To: Joachim Schmitz Cc: Junio C Hamano; Shawn Pearce; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop On Wed, Aug 22, 2012 at 9:30 AM, Joachim Schmitz j...@schmitz

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 7:19 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 Joachim Schmitz j...@schmitz-digital.de writes: Signed-off-by: Joachim Schmitz j

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
From: Brandon Casey [mailto:draf...@gmail.com] Sent: Wednesday, August 22, 2012 7:23 PM To: Joachim Schmitz Cc: Junio C Hamano; Shawn Pearce; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop On Wed, Aug 22, 2012 at 10:18 AM, Joachim Schmitz j...@schmitz

RE: [PATCH] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 7:13 PM To: Joachim Schmitz Cc: git@vger.kernel.org; Erik Faye-Lund; Johannes Sixt; Marius Storm-Olsen Subject: Re: [PATCH] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact Joachim

RE: [PATCH] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...)

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 7:23 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...) Joachim Schmitz j...@schmitz-digital.de writes: Signed-off

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 7:41 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 Joachim Schmitz j...@schmitz-digital.de writes: Like this: This reverts

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
-Original Message- From: Johannes Sixt [mailto:j...@kdbg.org] Sent: Wednesday, August 22, 2012 8:09 PM To: Joachim Schmitz Cc: 'Brandon Casey'; 'Junio C Hamano'; 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Am 22.08.2012 20:02

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-22 Thread Joachim Schmitz
-Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 8:17 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 Joachim Schmitz j...@schmitz-digital.de writes

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 8:25 PM To: Joachim Schmitz Cc: 'Brandon Casey'; 'Shawn Pearce'; git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: Nice

RE: [PATCH] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-22 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Wednesday, August 22, 2012 7:44 PM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org'; 'Erik Faye-Lund'; 'Johannes Sixt'; 'Marius Storm- Olsen' Subject: RE: [PATCH] Support non-WIN32 system lacking poll() while keeping the WIN32 part

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
Hi folks There another API missing on HP NonStop and that is setitimer(), used in progress.c and build/log.c I do have a homebrewed implementation, on top of alarm(), it goes like this: #include ../git-compat-util.h #undef getitimer #undef setitimer int git_getitimer(int which, struct

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 10:50 PM To: Joachim Schmitz Cc: git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: Hi folks There another API missing

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-22 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 11:02 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 Joachim Schmitz j...@schmitz-digital.de writes: diff --git a/http.c b/http.c

RE: Porting git to HP NonStop

2012-08-22 Thread Joachim Schmitz
-Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August 22, 2012 11:12 PM To: Joachim Schmitz Cc: git@vger.kernel.org; rsbec...@nexbridge.com Subject: Re: Porting git to HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: If it helps

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-23 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Wednesday, August 22, 2012 11:06 PM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org' Subject: RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, August

RE: git on HP NonStop

2012-08-23 Thread Joachim Schmitz
From: Andreas Ericsson [mailto:a...@op5.se] Sent: Thursday, August 23, 2012 10:24 AM To: Joachim Schmitz Cc: 'Junio C Hamano'; 'Johannes Sixt'; 'Jan Engelhardt'; git@vger.kernel.org Subject: Re: git on HP NonStop On 08/22/2012 06:38 PM, Joachim Schmitz wrote: -Original Message

RE: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-23 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Thursday, August 23, 2012 11:27 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Don't use curl_easy_strerror prior to curl-7.12.0 Joachim Schmitz j...@schmitz-digital.de writes: From: Joachim Schmitz [mailto:j

[PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-24 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- This time I hopefully didn't screw up whitespace and line breaks. Makefile| 18 ++ compat/win32/poll.c | 8 ++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index

[PATCH v2] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...)

2012-08-24 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- As discussed now as a small helper function rather than #ifdef/#endif in the primary flow of the code. And hopefully without having screwed up whitespace and line breaks sha1_file.c | 22 +++--- 1 file changed, 15

[PATCH v2] Don't use curl_easy_strerror prior to curl-7.12.0

2012-08-24 Thread Joachim Schmitz
This reverts be22d92 (http: avoid empty error messages for some curl errors, 2011-09-05) on platforms with older versions of libcURL. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Resend, regardless that Junio said this not to be needed, as I don't see it applied yet. Also tried

[PATCH 1/2] Ignore trailing slash in mkdir() on platforms that can't deal with this

2012-08-24 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/mkdir.c | 24 1 file changed, 24 insertions(+) create mode 100644 compat/mkdir.c diff --git a/compat/mkdir.c b/compat/mkdir.c new file mode 100644 index 000..9e253fb --- /dev/null +++ b/compat

[PATCH 2/2] Ignore trailing slash in mkdir() on platforms that can't deal with this

2012-08-24 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- git-compat-util.h | 5 + 1 file changed, 5 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index 35b095e..34f040f 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -162,6 +162,11 @@ #define

[PATCH 1/2] Support for setitimer() on platforms lacking it

2012-08-24 Thread Joachim Schmitz
Implementation includes getitimer(), but for now it is static. Supports ITIMER_REAL only. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- May need a header file for ITIMER_*, struct itimerval and the prototypes, But for now, and the HP NonStop platform this isn't needed, here sys/time

RE: [PATCH 2/2] Support for setitimer() on platforms lacking it

2012-08-24 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Seems it needs my mkdir() ignoretraile slash patch first to be applied cleanly... It is independent of it otherwise. git-compat-util.h | 5 + 1 file changed, 5 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index

RE: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-24 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Friday, August 24, 2012 11:45 AM To: Junio C Hamano (gits...@pobox.com) Cc: git@vger.kernel.org; Erik Faye-Lund (kusmab...@gmail.com) Subject: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

RE: [PATCH 1/2] Ignore trailing slash in mkdir() on platforms that can't deal with this

2012-08-24 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 24, 2012 7:44 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH 1/2] Ignore trailing slash in mkdir() on platforms that can't deal with this As the compat/mkdir.c file includes git-compat-util.h

RE: [PATCH v2] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...)

2012-08-24 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 24, 2012 6:44 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH v2] Prefer sysconf(_SC_OPEN_MAX) over getrlimit(RLIMIT_NOFILE,...) Joachim Schmitz j...@schmitz-digital.de writes: Signed-off

RE: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-08-24 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 24, 2012 6:07 PM To: Joachim Schmitz Cc: git@vger.kernel.org; Erik Faye-Lund Subject: Re: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact Joachim Schmitz j...@schmitz-digital.de

[RFC] Support for HP NonStop

2012-08-24 Thread Joachim Schmitz
Hi folks On top of the patches I’ve submitted so far, which were needed for HP NonStop, but possibly useful for other platforms too, here is one that is at least in parts NonStop specific diff --git a/git-compat-util.h b/git-compat-util.h index a047221..d6a142a 100644 --- a/git-compat-util.h

RE: [RFC] Support for HP NonStop

2012-08-25 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 24, 2012 11:51 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [RFC] Support for HP NonStop Joachim Schmitz j...@schmitz-digital.de writes: Reminds me of a related issue: in compat/fnmatch/fnmatch.c

Re: [PATCH v6 15/16] remote-svn: add marks-file regeneration

2012-08-25 Thread Joachim Schmitz
Florian Achleitner florian.achleitner.2.6...@gmail.com schrieb im Newsbeitrag news:1345662961-9587-16-git-send-email-florian.achleitner.2.6...@gmail.com... fast-import mark files are stored outside the object database and are therefore not fetched and can be lost somehow else. marks provide a

Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-08-25 Thread Joachim Schmitz
Thomas Gummerer t.gumme...@gmail.com schrieb im Newsbeitrag news:134529-6925-3-git-send-email-t.gumme...@gmail.com... Add the possibility of re-reading the index file, if it changed while reading. The index file might change during the read, causing outdated information to be displayed.

RE: [PATCH v6 15/16] remote-svn: add marks-file regeneration

2012-08-25 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Saturday, August 25, 2012 5:55 PM To: 'florian.achleitner.2.6...@gmail.com' Cc: git@vger.kernel.org Subject: Re: [PATCH v6 15/16] remote-svn: add marks-file regeneration Florian Achleitner florian.achleitner.2.6...@gmail.com

Re: [PATCH 1/3] remote-testsvn.c: Avoid the getline() GNU extension function

2012-08-25 Thread Joachim Schmitz
(). Signed-off-by: Ramsay Jones ram...@ramsay1.demon.co.uk Tested-by: Joachim Schmitz j...@schmitz-digital.de --- Hi Florian, Could you please squash this into commit 0320cef0 (remote-svn: add marks-file regeneration, 22-08-2012). ATB, Ramsay Jones remote-testsvn.c | 8 1 file changed, 4

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-08-30 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, August 28, 2012 10:16 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it Joachim Schmitz j...@schmitz-digital.de writes: Implementation includes getitimer

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-09-01 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Thursday, August 30, 2012 7:23 PM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org' Subject: RE: [PATCH 1/2] Support for setitimer() on platforms lacking it From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Thursday, August

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-09-03 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Sunday, September 02, 2012 10:44 PM To: Joachim Schmitz Cc: git@vger.kernel.org; Johannes Sixt Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it Joachim Schmitz j...@schmitz-digital.de writes: Should we

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-09-03 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Monday, September 03, 2012 9:03 PM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Johannes Sixt' Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it Joachim Schmitz j...@schmitz-digital.de writes: if (!value

RE: [PATCH v2] Support for setitimer() on platforms lacking it

2012-09-04 Thread Joachim Schmitz
Poor man's getitimer(), simply based on alarm(). Currently needed on HP NonStop (#ifdef __TANDEM), which does provide struct itimerval, but no setitimer(). Alarm times are rounded up to the next full second. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Revert/remove my previous 2

RE: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact

2012-09-04 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, August 24, 2012 9:47 PM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Erik Faye-Lund' Subject: Re: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact Joachim Schmitz j...@schmitz-digital.de

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-09-04 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, September 04, 2012 8:47 PM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Johannes Sixt' Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it Junio C Hamano gits...@pobox.com writes: Joachim Schmitz j

RE: [PATCH 1/2] Support for setitimer() on platforms lacking it

2012-09-05 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Wednesday, September 05, 2012 12:45 AM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Johannes Sixt' Subject: Re: [PATCH 1/2] Support for setitimer() on platforms lacking it Joachim Schmitz j...@schmitz-digital.de writes: From: Junio

RE: poll() emulation in git

2012-09-05 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Tuesday, September 04, 2012 1:49 PM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org'; 'Erik Faye-Lund' Subject: RE: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact From: Junio C Hamano

RE: poll() emulation in git

2012-09-05 Thread Joachim Schmitz
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Wednesday, September 05, 2012 2:05 PM To: Joachim Schmitz Cc: 'Junio C Hamano'; git@vger.kernel.org; 'Erik Faye-Lund'; bug-gnu...@gnu.org Subject: Re: poll() emulation in git Il 05/09/2012 13:24

RE: poll() emulation in git

2012-09-05 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Wednesday, September 05, 2012 2:58 PM To: 'Paolo Bonzini' Cc: 'Junio C Hamano'; 'git@vger.kernel.org'; 'Erik Faye-Lund'; 'bug-gnu...@gnu.org' Subject: RE: poll() emulation in git From: Paolo Bonzini [mailto:paolo.bonz

RE: poll() emulation in git

2012-09-06 Thread Joachim Schmitz
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Wednesday, September 05, 2012 5:26 PM To: Joachim Schmitz Cc: 'Junio C Hamano'; git@vger.kernel.org; 'Erik Faye-Lund'; bug-gnu...@gnu.org Subject: Re: poll() emulation in git Il 05/09/2012 15:36

RE: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-09-07 Thread Joachim Schmitz
From: Thomas Gummerer [mailto:t.gumme...@gmail.com] Sent: Monday, August 27, 2012 11:40 AM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed On 08/25, Joachim Schmitz wrote: Thomas Gummerer t.gumme

RE: poll() emulation in git

2012-09-07 Thread Joachim Schmitz
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Thursday, September 06, 2012 5:15 PM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Junio C Hamano'; 'Erik Faye-Lund'; bug-gnu...@gnu.org; rsbec...@nexbridge.com Subject: Re: poll() emulation in git Il

RE: poll() emulation in git

2012-09-07 Thread Joachim Schmitz
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Thursday, September 06, 2012 4:32 PM To: Joachim Schmitz Cc: git@vger.kernel.org; 'Junio C Hamano'; 'Erik Faye-Lund'; bug-gnu...@gnu.org; rsbec...@nexbridge.com Subject: Re: poll() emulation in git Il

[PATCH] Document MKDIR_WO_TRAILING_SLASH in Makefile

2012-09-07 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ac49320..03e245a 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,8 @@ all:: # # Define NO_MKDTEMP if you don't have mkdtemp in the C library

[PATCH v3 0/4] Support non-WIN32 systems lacking poll()

2012-09-07 Thread Joachim Schmitz
Here's now my series or patches to make the win32 implementation of poll() available to other platforms: 1 - poll() exits too early with EFAULT if 1st arg is NULL, as discussed with Paolo Bonzini from the gnulib team 2 - make poll available for other platforms lacking it by moving it into a

RE: [PATCH v3 1/4] poll() exits too early with EFAULT if 1st arg is NULL

2012-09-07 Thread Joachim Schmitz
If poll() is used as a milli-second sleep, like in help.c, by passing a NULL in the 1st and a 0 in the 2nd arg, it exits with EFAULT. As per Paolo Bonzini, the original author, this is a bug and to be fixed like in this commit, which is not to exit if the 2nd arg is 0. Signed-off-by: Joachim

RE: [PATCH v3 2/4] make poll available for other platforms lacking it

2012-09-07 Thread Joachim Schmitz
move poll.[ch] out of compat/win32/ into compat/poll/ and adjust Makefile with the changed paths. Adding comments to Makefile about how/when to enable it and add logic for this Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile | 20

RE: [PATCH v3 3/4] fix some win32 specific dependencies in poll.c

2012-09-07 Thread Joachim Schmitz
In order for non-win32 platforms to be able to use poll.c, #ifdef the inclusion of two header files Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compat/poll/poll.c b/compat/poll/poll.c

RE: [PATCH v3 4/4] make poll() work on platforms that can't recv() on a non-socket

2012-09-07 Thread Joachim Schmitz
HP NonStop can't recv() on a non-socket, this commit cates for this. So far for HP NonStop only, via #ifdef __TANDEM, but it may be usefull for others too. A similar patch got sent to gnulib. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 5 + 1 file changed

RE: [PATCH v4 4/4] make poll() work on platforms that can't recv() on a non-socket

2012-09-07 Thread Joachim Schmitz
This way it gets added to gnulib too. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 5 + 1 file changed, 4 insertions(+) diff --git a/compat/poll/poll.c b/compat/poll/poll.c index e4b8319..10a204e 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c

RE: [PATCH] Document MKDIR_WO_TRAILING_SLASH in Makefile

2012-09-07 Thread Joachim Schmitz
-Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, September 07, 2012 7:30 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] Document MKDIR_WO_TRAILING_SLASH in Makefile Joachim Schmitz j...@schmitz-digital.de writes: Signed

RE: [PATCH v3] Support for setitimer() on platforms lacking it

2012-09-07 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Friday, September 07, 2012 6:41 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH v3] Support for setitimer() on platforms lacking it Joachim Schmitz j...@schmitz-digital.de writes: HP NonStop (currently) doesn't

RE: [PATCH v4 4/4] make poll() work on platforms that can't recv() on a non-socket

2012-09-08 Thread Joachim Schmitz
From: Erik Faye-Lund [mailto:kusmab...@gmail.com] Sent: Saturday, September 08, 2012 1:32 PM To: Joachim Schmitz Cc: Junio C Hamano; git@vger.kernel.org Subject: Re: [PATCH v4 4/4] make poll() work on platforms that can't recv() on a non-socket On Fri, Sep 7, 2012 at 5:43 PM, Joachim

RE: [PATCH v3] Support for setitimer() on platforms lacking it

2012-09-08 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Friday, September 07, 2012 11:55 AM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org' Subject: RE: [PATCH v3] Support for setitimer() on platforms lacking it HP NonStop (currently) doesn't have setitimer(). The previous attempt

RE: [PATCH v4] Support for setitimer() on platforms lacking it

2012-09-08 Thread Joachim Schmitz
of in this commit too, by setting NO_STRUCT_ITIMERVAL. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile | 12 git-compat-util.h | 11 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index ac49320..7be555b 100644

[PATCH v2] Document MKDIR_WO_TRAILING_SLASH in Makefile

2012-09-08 Thread Joachim Schmitz
Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 66e8216..21b4816 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,8 @@ all:: # # Define NO_MKDTEMP if you don't have mkdtemp in the C library

Re: [PATCH] daemon: restore getpeername(0,...) use

2012-09-08 Thread Joachim Schmitz
Jan Engelhardt wrote: This reverts f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a, in a sense, because that commit broke logging of Connection from ... when git-daemon is run under xinetd. This patch here computes the text representation of the peer and then copies that to environment variables such

RE: [PATCH] daemon: restore getpeername(0,...) use

2012-09-08 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Saturday, September 08, 2012 9:04 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] daemon: restore getpeername(0,...) use Joachim Schmitz j...@schmitz-digital.de writes: + setenv(REMOTE_PORT, portbuf, true

Re: [BUG?] git rebase not accepting :/ syntax

2012-09-10 Thread Joachim Schmitz
Yann Dirson wrote: On Fri, 07 Sep 2012 15:54:49 +0200 ... BTW, git-rebase.sh seems to be quite inconsistent on the use of $() vs. ``, not to mention the clear preference stated in CodingGuidelines. There are still quite a few more places in *.sh where `cmd`is used instead of $(cmd):

Re: [PATCH] daemon: restore getpeername(0,...) use

2012-09-10 Thread Joachim Schmitz
Jeff King wrote: On Sat, Sep 08, 2012 at 09:20:48PM +0200, Jan Engelhardt wrote: On Saturday 2012-09-08 20:59, Junio C Hamano wrote: diff --git a/daemon.c b/daemon.c index 4602b46..eaf08c2 100644 --- a/daemon.c +++ b/daemon.c @@ -1,3 +1,4 @@ +#include stdbool.h #include cache.h #include

Re: [PATCH] daemon: restore getpeername(0,...) use

2012-09-10 Thread Joachim Schmitz
Jeff King wrote: On Mon, Sep 10, 2012 at 04:38:58PM +0200, Joachim Schmitz wrote: More importantly, though, is it actually portable? I thought it was added in C99, and we try to stick to C89 to support older compilers and systems. My copy of C99 is vague (it says only that the bool macro

RE: [PATCH] daemon: restore getpeername(0,...) use

2012-09-10 Thread Joachim Schmitz
From: Jeff King [mailto:p...@peff.net] Sent: Monday, September 10, 2012 7:59 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: [PATCH] daemon: restore getpeername(0,...) use On Mon, Sep 10, 2012 at 07:26:26PM +0200, Joachim Schmitz wrote: as are non-const array intializers

How to update a cloned git repository

2012-09-11 Thread Joachim Schmitz
Hi folks Probably a beginner's question... If I did a git clone git://guthub.com/git/git.git and worked on some own branches of pu git checkout pu;git checkout -p mybranch;hack;hack;...;git commit -a -s how to update my repository once the the one on github changed? A plain git pull or

RE: How to update a cloned git repository

2012-09-11 Thread Joachim Schmitz
From: Matthieu Moy [mailto:matthieu@grenoble-inp.fr] Sent: Tuesday, September 11, 2012 1:06 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: How to update a cloned git repository Joachim Schmitz j...@schmitz-digital.de writes: Hi folks Probably a beginner's question

Re: [PATCH v3 1/4] poll() exits too early with EFAULT if 1st arg is NULL

2012-09-11 Thread Joachim Schmitz
Joachim Schmitz wrote: If poll() is used as a milli-second sleep, like in help.c, by passing a NULL in the 1st and a 0 in the 2nd arg, it exits with EFAULT. As per Paolo Bonzini, the original author, this is a bug and to be fixed like in this commit, which is not to exit if the 2nd arg is 0

RE: How to update a cloned git repository

2012-09-11 Thread Joachim Schmitz
From: Matthieu Moy [mailto:matthieu@grenoble-inp.fr] Sent: Tuesday, September 11, 2012 2:41 PM To: Joachim Schmitz Cc: git Subject: Re: How to update a cloned git repository [ Re-adding git@vger in Cc, I guess it was meant to be so ] Oops, yes it was meant to. Joachim Schmitz j

RE: How to update a cloned git repository

2012-09-11 Thread Joachim Schmitz
-Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, September 11, 2012 6:01 PM To: Joachim Schmitz Cc: 'Matthieu Moy'; git@vger.kernel.org Subject: Re: How to update a cloned git repository Joachim Schmitz j...@schmitz-digital.de writes: From

RE: How to update a cloned git repository

2012-09-11 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Tuesday, September 11, 2012 6:06 PM To: Matthieu Moy Cc: Joachim Schmitz; git Subject: Re: How to update a cloned git repository Matthieu Moy matthieu@grenoble-inp.fr writes: [ Re-adding git@vger in Cc, I guess it was meant

RE: [PATCH v5 4/4] make poll() work on platforms that can't recv() on a non-socket

2012-09-13 Thread Joachim Schmitz
This way it just got added to gnulib too. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 5 + 1 file changed, 4 insertions(+) diff --git a/compat/poll/poll.c b/compat/poll/poll.c index e4b8319..10a204e 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c

Re: [PATCH v3 1/4] poll() exits too early with EFAULT if 1st arg is NULL

2012-09-13 Thread Joachim Schmitz
Joachim Schmitz wrote: Joachim Schmitz wrote: If poll() is used as a milli-second sleep, like in help.c, by passing a NULL in the 1st and a 0 in the 2nd arg, it exits with EFAULT. As per Paolo Bonzini, the original author, this is a bug and to be fixed like in this commit, which is not to exit

Re: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-15 Thread Joachim Schmitz
Junio C Hamano wrote: I think we can start thinking about feature freeze once the topics in 'next' that are scheduled to graduate to 'master' already are fully cooked. For any late-coming topic, there always is the next cycle ;-) I've not hear anything about my poll patches and I'd really

RE: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-15 Thread Joachim Schmitz
From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Saturday, September 15, 2012 7:01 PM To: Joachim Schmitz Cc: git@vger.kernel.org Subject: Re: What's cooking in git.git (Sep 2012, #05; Fri, 14) Joachim Schmitz j...@schmitz-digital.de writes: Junio C Hamano wrote: I think we can

[PATCH v6 0/4] Support non-WIN32 systems lacking poll()

2012-09-17 Thread Joachim Schmitz
Here's now my updated series of patches to make the win32 implementation of poll() available to other platforms: 1 - make poll available for other platforms lacking it by moving it into a separate directory and adjusting Makefile 2 - fix some win32 specific dependencies in poll.c by #ifdef the

[PATCH v6 1/4] make poll available for other platforms lacking it

2012-09-17 Thread Joachim Schmitz
move poll.[ch] out of compat/win32/ into compat/poll/ and adjust Makefile with the changed paths. Adding comments to Makefile about how/when to enable it and add logic for this Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- Makefile | 20

[PATCH v6 2/4] fix some win32 specific dependencies in poll.c

2012-09-17 Thread Joachim Schmitz
In order for non-win32 platforms to be able to use poll.c, #ifdef the inclusion of two header files in the same manner as it's done elsewhere in git. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[PATCH v6 3/4] poll() exits too early with EFAULT if 1st arg is NULL

2012-09-17 Thread Joachim Schmitz
in the same manner the other day. Signed-off-by: Joachim Schmitz j...@schmitz-digital.de --- compat/poll/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/poll/poll.c b/compat/win32/poll.c index 403eaa7..9e7a25c 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c

RE: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-17 Thread Joachim Schmitz
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] Sent: Saturday, September 15, 2012 7:15 PM To: 'Junio C Hamano' Cc: 'git@vger.kernel.org' Subject: RE: What's cooking in git.git (Sep 2012, #05; Fri, 14) From: Junio C Hamano [mailto:gits...@pobox.com] Sent: Saturday, September 15

Re: Test failure: Test #3 in t1304-default-acl

2012-09-17 Thread Joachim Schmitz
Matthieu Moy wrote: Junio C Hamano gits...@pobox.com writes: I haven't been paying attention, but does that mean on that system, a total stranger kseygold can write, modify, and remove whatever Ram owns? I am hoping that is not the case. I can see two reasons for having the same UID for two

  1   2   >