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

RE: [PATCH] Fixed pervasive enumeration warning in convert.h.

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jan 12, 2018, 19:52 UTC
Message-ID
<004c01d38bde$f0e6bb50$d2b431f0$@nexbridge.com>
In-Reply-To
<xmqqh8rqx4kz.fsf@gitster.mtv.corp.google.com>
> From: Junio C Hamano [mailto:gitster@pobox.com]
On January 12, 2018 2:25 PM, Junio C Hamano wrote:
Show 15 quoted lines
> > From: "Randall S. Becker" <rsbecker@nexbridge.com>
> >  {
> > -	return convert_to_git(istate, path, NULL, 0, NULL, 0);
> > +	return convert_to_git(istate, path, NULL, 0, NULL,
> SAFE_CRLF_FALSE);
> >  }
> 
> I think this is being solved a bit differently with a1fbf854
> ("convert_to_git(): safe_crlf/checksafe becomes int conv_flags", 2018-01-
> 06), and 0 becomes the right value to pass at this caller to say "I am passing
> none of the flag bit".
> 
> I am hoping that the series that ends at f3b11d54 ("convert: add support for
> 'checkout-encoding' attribute", 2018-01-06) will be rerolled and hit 'master'
> early in the next cycle.
Got it. Will revert this one on my end. On a related too many warnings subject, hashmap.h has a variable unused (void *item). Is that addressed soon? If not, I can deal with it.

Cheers, Randall (also, sorry about the other email address in use. It's the only way I can use send-email, fixing the annoying prior wrapping/tab/space garbage I had).

Previous: Junio C HamanoNext: René Scharfe
Message 3 of 6 in “Fixed pervasive enumeration warning in convert.h.”
  1. Fixed pervasive enumeration warning in convert.h.randall.s.becker@rogers.com, Jan 12, 2018
  2. Junio C HamanoJan 12, 2018
  3. Randall S. BeckerJan 12, 2018
  4. unused variable in hashmap.h [was: Re: [PATCH] Fixed pervasive enumeration warning in convert.h.]René Scharfe, Jan 13, 2018
  5. Randall S. BeckerJan 13, 2018
  6. 1/1 convert_to_git(): safe_crlf/checksafe becomes int conv_flagstboegi@web.de, Jan 13, 2018

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.