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

Re: [PATCH 1/2] Modified flag field type in rev_list_info struct in bisect.h. There is no need for flag field to be signed, as it is not supposed to be used as decimal.

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Mar 25, 2016, 16:54 UTC
Message-ID
<CAPig+cRVBMbCikO2aCC0wXXgB4_P+XMNvNQfk+jhPWcZUbLfdQ@mail.gmail.com>
In-Reply-To
<56F534D0.7050104@gmail.com>
[please respond inline rather than top-posting]
On Fri, Mar 25, 2016 at 8:53 AM, work <motroniii@gmail.com> wrote:
Show 14 quoted lines
> On 03/25/2016 09:18 AM, Junio C Hamano wrote:
>> Stefan Beller <sbeller@google.com> writes:
>>> Maybe my exposure to the code was accidentally in a way such that
>>> I ever only saw the version without int.
>>
>> The older part of the code tends to spell flag words with "unsigned"
>> without "int", which is primarily historical fault of mine.
>
> Yep. Thanks for your remarks. I have made a bit more research about using
> old rev_list_info struct (with signed int flag) and realized, that it
> doesn't appear in expressions, where using signed integer will differ from
> unsigned one.
> I'll take using 'unsigned' instead of 'unsigned int' in account, so if
> needed, I can remake the patch in order to get it accepted.

If I read Junio's response correctly, "unsigned int" is indeed preferred over "unsigned", so no need to change that part, but the commit message needs improvement, and other reviewer comments should be addressed.

And, yes, the expectation is that you will re-roll the patch (one or more times) in response to issues pointed out by reviewers. As a GSoC applicant, this is especially important since a big part of working on this project is being responsive to review comments, and GSoC mentors will examine your reviewer interaction when selecting applicants.

Previous: workNext: Motroni Igor
Message 9 of 10 in “GSoC student”
  1. 0/2 GSoC studentMotroni Igor, Mar 24, 2016
  2. 1/2 Modified flag field type in rev_list_info struct in bisect.h. There is no need for flag field to be signed, as it is not supposed to be used as decimal.Motroni Igor, Mar 24, 2016
  3. Stefan BellerMar 24, 2016
  4. workMar 24, 2016
  5. Eric SunshineMar 24, 2016
  6. Stefan BellerMar 24, 2016
  7. Junio C HamanoMar 25, 2016
  8. workMar 25, 2016
  9. Eric SunshineMar 25, 2016
  10. 2/2 Just a minor commit to trigger Travis Ci buildMotroni Igor, Mar 24, 2016

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.