git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Port to 12 other Platforms.

From
BGBoyd Lynn Gerber <gerberb@zenez.com>
Date
Jun 8, 2008, 19:31 UTC
Message-ID
<Pine.LNX.4.64.0806081318520.18454@xenau.zenez.com>
In-Reply-To
<7vhcc3kbdw.fsf@gitster.siamese.dyndns.org>
On Sun, 8 Jun 2008, Junio C Hamano wrote:
Show 15 quoted lines
> Boyd Lynn Gerber <gerberb@zenez.com> writes:
> > On Sun, 8 Jun 2008, Jakub Narebski wrote:
> > This was from my own copy of the master archive.  It is my proposal.  I 
> > thought you had to get an OK from this list before you do a push to the 
> > main archive.  Am I missing something?  I am new to this list and the 
> > proper methods for submitting patches.  I thought I was following the 
> > guidelines from 
> >
> > http://repo.or.cz/w/git.git?a=blob_plain;f=Documentation/SubmittingPatches;hb=HEAD
> >
> > What am I missing?
> 
> It might appear that many people somehow hate your patch and ganging up 
> on it, and if so I apologize for them and I assure you that they do not 
> mean ill.
This list has been very good.  The problem comes from other lists and 
personal assualts on my domain.  
 
> There seem to be some confusion either in the SubmittingPatches document 
> or the way some suggestions have been given in the recent postings by 
> people, so let's clear it up first.

Yes, I was a bit confused but the docs/email/IRC. I really apperciate the message below. I really want to comply with the rules of this list and make sure my changes make it into the master/core source.

... 
Show 15 quoted lines
>    * For an enhancement, describe in what situation the new feature is
>      useful, defend why that use case is worth supporting, state how
>      awkward (or perhaps impossible) to do the same thing is with the
>      current set of features, and discuss and defend why you chose this
>      specific approach to fix the awkwardness among other possibilities.
>      E.g. "This adds a new feature X that works like this.  When you have
>      Y and want to arrive at Z, with the current set of commands you would
>      need to do W, but...".
> 
>    The point is to help people, who later wonder why the change was made
>    and on what basis the author thought the change was necessary and/or
>    sufficient back then when the change was made, understand the context.
> 
>    This comes at the beginning of the e-mail message, and is concluded by
>    S-o-b line(s).
I agree.  I am not sure on some things but I will ask more later.
Show 10 quoted lines
>  * Supporting material that makes it easy to understand the particular
>    iteration of the patch in the context of review discussion, things like
>    "Compared to the previous round, I changed this and that, thanks to
>    comments from X and Y."  Because only the final iteration will get
>    committed in the final history, it does not make sense to include such
>    information in the commit message.  This comes after the commit log
>    message, and a single three-dash line is used to separate this part
>    from the commit log message.
> 
>  * The change itself, aka "patch".  This comes at the end of the message.
...
Show 17 quoted lines
>     __USLC__ indicates UNIX System Labs Corperation (USLC), or a Novell-derived
>     compiler and/or some SysV based OS's.
> 
>     __M_UNIX indicates XENIX/SCO UNIX/OpenServer 5.0.7 and prior releases
>     of the SCO OS's.  It is used just like Apple and BSD, both of these
>     shouldn't have _XOPEN_SOURCE defined.
> 
> These are valuable clues to anybody who is unfamiliar with (and/or do 
> not have an easy access to) these systems.  When people later want to 
> touch git-compat-util.h around the place where !defined(__USLC__) is 
> used, they would run "git blame" (or perhaps "git log -S__USLC__") to 
> find your commit that modified this line, and by looking at the commit 
> log message why you added these symbols on the #if line.  It would help 
> protect your changes from begin broken by them if you help them 
> understand why these are there, and the above two paragraphs should 
> definitely go to the commit log message.  They are not mere supporting 
> material for this review cycle alone.
I will have to find all this information.  It took me 2 months in my 
personal time to find and fix them.  I will have to get back on this 
below.
 
Show 12 quoted lines
> "..., both of these shouldn't have" however could even be more helpful 
> if it was stated like "On these platforms, defining _XOPEN_SOURCE hides 
> definitions of X, Y and Z that we use, which is not what we want.", for 
> people who would want to know what specific breakage the change 
> addresses.
>
> It would change "Ok, somebody with SCO systems says this patch fixes 
> things for him" to "I see, if _XOPEN_SOURCE over there makes *that* 
> function unavailable, then we definitely shouldn't have _XOPEN_SOURCE 
> defined at this point of the header file".  IOW, it makes "Ok, I trust 
> the guy's judgement, even though the details are fuzzy to me" into "Ok, 
> I agree with his judgement".
Thanks, more later when time permits.

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Previous: Junio C HamanoNext: Boyd Lynn Gerber
Message 10 of 15 in “Port to 12 other Platforms.”
  1. Port to 12 other Platforms.Boyd Lynn Gerber, Jun 8, 2008
  2. Jakub NarebskiJun 8, 2008
  3. Boyd Lynn GerberJun 8, 2008
  4. Matthieu MoyJun 8, 2008
  5. Boyd Lynn GerberJun 8, 2008
  6. Jakub NarebskiJun 8, 2008
  7. Boyd Lynn GerberJun 8, 2008
  8. Boyd Lynn GerberJun 8, 2008
  9. Junio C HamanoJun 8, 2008
  10. Boyd Lynn GerberJun 8, 2008
  11. Boyd Lynn GerberJun 8, 2008
  12. Junio C HamanoJun 8, 2008
  13. version 0001 Port to 12 other Platforms.Boyd Lynn Gerber, Jun 8, 2008
  14. progress.c: avoid use of dynamic-sized arrayBoyd Lynn Gerber, Jun 8, 2008
  15. Boyd Lynn GerberJun 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.