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

Re: [PATCH] read-cache: fix indentation in read_index_from

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 31, 2015, 20:12 UTC
Message-ID
<xmqq613vusj0.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kbQmmcJMW=07A1pyHdbViJTfseG4L-kspKEvyugTO7R4g@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 14 quoted lines
>> I'll queue it for this time, but in general, I'd prefer if people
>> refrained from touching code only for style fixes in an area that is
>> touched actively in topics, unless it is done inside a topic that
>> has to touch that area of the code in order to do something more
>> than style fixes.
>
> Right. :(
>
> The problem here is that I was looking to use read_index_from
> in the submodule code to implement recursive actions, but as I
> could not find documentation on how to use it, I read the code.
> And whenever I see obvious things to fix (such as style),
> I cannot stop myself from shooting from the hip, sending a patch.
> I'll stop doing that.

Don't stop; instead queue and keep them on your own queue, so that you can find a good time to send them out.

A good rule-of-thumb for "good time" is when "git diff maint pu" does not show any overlap to the context and preimage of your patches.

Thanks.
Previous: Stefan Beller
Message 4 of 4 in “read-cache: fix indentation in read_index_from”
  1. read-cache: fix indentation in read_index_fromStefan Beller, Aug 31, 2015
  2. Junio C HamanoAug 31, 2015
  3. Stefan BellerAug 31, 2015
  4. Junio C HamanoAug 31, 2015

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.