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

Re: [PATCH] git-add--interactive.perl: Remove two unused variables

From
Thomas Badie <thomas.badie@gmail.com>
Date
Jun 25, 2012, 22:41 UTC
Message-ID
<4FE8E934.4090604@gmail.com>
In-Reply-To
<7v7guvgtbi.fsf@alter.siamese.dyndns.org>
On 25/06/2012 20:06, Junio C Hamano wrote:
Show 30 quoted lines
> Thomas Badie <thomas.badie@gmail.com> writes:
> 
>> 2012/6/25 Junio C Hamano <gitster@pobox.com>:
>>> "Thomas \"Enki\" Badie" <thomas.badie@gmail.com> writes:
>>>
>>>> The patch 8f0bef6 refactors this script and leaves the `$fh' variable
>>>> unused in `diff_applies' and `patch_update_file'.
>>>>
>>>> Signed-off-by: Thomas Badie <badie@lrde.epita.fr>
>>>> ---
>>>> Hello,
>>>> This is my first patch. It introduces a really minor change, and I
>>>> also want to be sure the way I submit it is the right way. Thanks :)
>>>
>>> The patch submission is almost perfect, except that:
>>>
>>> (1) the patch seems to be whitespace damaged; and
>>>
>>
>> The only damage I see is a space on the deleted lines which doesn't
>> exist in the patch. Is that you're talking about ?
>> I need to investigate why it appears...
> 
> A typical context line would begin with SP and typically then tab
> (because our code is indented with leading tabs) but your context
> lines all have two SPs in front and indented with more SPs.  This is
> a symptom of your MUA mangling your patch, and the reason can be seen
> in the "Content-Type: text/plain; charset=ISO-8859-1; format=flowed"
> header.
> 

I follow the first approach in the tutorial in `git format-patch --help`, and I hope it works as expected :)

I wonder what is the next step, should I repost the previous patch with the line "Acked-by: Thomas Rast <trast@student.ethz.ch>" or it is okay right now?

Thanks a lot for your help on this first patch,
-- 
Thomas "Enki" Badie
Previous: Junio C Hamano
Message 7 of 7 in “git-add--interactive.perl: Remove two unused variables”
  1. git-add--interactive.perl: Remove two unused variablesThomas "Enki" Badie, Jun 24, 2012
  2. Junio C HamanoJun 25, 2012
  3. Thomas RastJun 25, 2012
  4. Thomas BadieJun 25, 2012
  5. Thomas BadieJun 25, 2012
  6. Junio C HamanoJun 25, 2012
  7. Thomas BadieJun 25, 2012

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.