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

Re: What's in git.git and announcing v1.4.1-rc1

From
Petr Baudis <pasky@suse.cz>
Date
Jun 22, 2006, 21:28 UTC
Message-ID
<20060622212826.GG21864@pasky.or.cz>
In-Reply-To
<e7f1pk$l1q$1@sea.gmane.org>
Show 6 quoted lines
> >> Isn't manually numbering the enum choices somewhat pointless, though?
> >> (Actually makes it more difficult to do changes in it later.)
> > 
> > Yeah, I just mindlessly followed Johannes' original scheme. 
> 
> You might want to start at 0, just in case...

C99 (6.7.2.2) guarantees the enumeration constants start at 0 if not specified otherwise.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 8 of 18 in “What's in git.git and announcing v1.4.1-rc1”
  1. Junio C HamanoJun 22, 2006
  2. Junio C HamanoJun 22, 2006
  3. Paolo CiarrocchiJun 22, 2006
  4. Linus TorvaldsJun 22, 2006
  5. Petr BaudisJun 22, 2006
  6. Linus TorvaldsJun 22, 2006
  7. Jakub NarebskiJun 22, 2006
  8. Petr BaudisJun 22, 2006
  9. Johannes SchindelinJun 23, 2006
  10. Junio C HamanoJun 22, 2006
  11. Junio C HamanoJun 22, 2006
  12. Johannes SchindelinJun 23, 2006
  13. Pádraig BradyJun 23, 2006
  14. Johannes SchindelinJun 23, 2006
  15. Linus TorvaldsJun 23, 2006
  16. diff --color: use $GIT_DIR/configJunio C Hamano, Jun 24, 2006
  17. Johannes SchindelinJun 24, 2006
  18. diff --color: use reset sequence when we mean reset.Junio C Hamano, Jun 24, 2006

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.