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

Re: [PATCH 1/2] http.c: prompt for SSL client certificate password

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 13, 2009, 01:12 UTC
Message-ID
<7vab4d2ayo.fsf@alter.siamese.dyndns.org>
In-Reply-To
<ca433830906121733w7c88dfd4w1025b7b936e48e95@mail.gmail.com>
Mark Lodato <lodatom@gmail.com> writes:
Show 14 quoted lines
> On Fri, Jun 12, 2009 at 8:14 PM, Junio C Hamano<gitster@pobox.com> wrote:
>> Mark Lodato <lodatom@gmail.com> writes:
>>
>>> If this patch series is accepted, I
>>> will make a cleaner version that includes this change.
>>
>> Sorry, but I do not understand this part of your message.
>
> Sorry about that.  I meant that I have cleaned up the code as you
> suggested (see diff below), and that if you decide to include the
> patch series into git.git (I see now you included it in pu), I can
> either submit an additional patch to perform the cleanup, or submit a
> new "v2" patch series incorporating these changes.  Is one preferred
> over the other?
Ah, I see.
Here is how we do things around here.

Reviewers are usually faster to comment and offer improvement suggestions than I pick up patches and apply them to my tree (in any branches). While a patch is under active discussion with suggestions that make the code obviously better with simple changes, the submitter is expected to send new "v$n" (n>=1) patches incorporating suggested improvements. It often is simpler and cleaner if such "replacement" patches are sent for anything that hasn't landed on 'next' (or 'master/maint' for that matter), and I make sure not to merge something that still has iffiness to 'next' (iow, keeping it on 'pu') to help this process.

After the initial dust settles and reviewers agree that the patch is in a good testable state, it lands in 'next', and if there are further improvements and bugfixes, they are expected to be sent as incremental patches. That way, we do not have to record obvious shortcomings that tend to appear in the initial submission in our history, while keeping the record of incremental updates on top of what has been judged as "basically sound" (aka "advances to 'next'").

So in this case, v2 is very much preferred. There is no point recording "Mark originally sent a code with #ifdef sprinkled heavily and then later realized that the code becomes easier to read if #ifdef part is separated out to only define the constants used in the code" as part of our official history.

By the way, I forgot to say this even though I noticed you are new: welcome to git development community.

Previous: Mark Lodato
Message 25 of 25 in “http.c: prompt for SSL client certificate password”
  1. 1/2 http.c: prompt for SSL client certificate passwordMark Lodato, May 28, 2009
  2. 2/2 http.c: add http.sslCertNoPass optionMark Lodato, May 28, 2009
  3. Mark LodatoJun 5, 2009
  4. Constantine PlotnikovJun 5, 2009
  5. Mark LodatoJun 7, 2009
  6. Mark LodatoJun 11, 2009
  7. Nanako ShiraishiJun 11, 2009
  8. Junio C HamanoJun 11, 2009
  9. Daniel StenbergJun 12, 2009
  10. Constantine PlotnikovJun 12, 2009
  11. Jakub NarebskiJun 12, 2009
  12. Rogan DawesJun 12, 2009
  13. Mark LodatoJun 12, 2009
  14. Mark LodatoJun 12, 2009
  15. Junio C HamanoJun 13, 2009
  16. Mark LodatoJun 13, 2009
  17. Daniel StenbergJun 13, 2009
  18. Junio C HamanoJun 11, 2009
  19. Mark LodatoJun 12, 2009
  20. Junio C HamanoJun 12, 2009
  21. Daniel StenbergJun 12, 2009
  22. Mark LodatoJun 12, 2009
  23. Junio C HamanoJun 13, 2009
  24. Mark LodatoJun 13, 2009
  25. Junio C HamanoJun 13, 2009

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.