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

Re: [PATCH][Outreachy] branch: allow - as abbreviation of '@{-1}'

From
Mike Hommey <mh@glandium.org>
Date
Mar 18, 2016, 17:02 UTC
Message-ID
<20160318170255.GA9846@glandium.org>
In-Reply-To
<xmqqvb4jrcle.fsf@gitster.mtv.corp.google.com>
On Fri, Mar 18, 2016 at 09:10:37AM -0700, Junio C Hamano wrote:
>  * We forbid declaration-after-statement in our codebase.

By the way, why not enforce it with -Werror=declaration-after-statement? If people patching git get an error when they do it, they won't submit a patch with it, and you won't have to tell them about it :)

Mike
Previous: Junio C HamanoNext: Eric Sunshine
Message 3 of 8 in “[Outreachy] branch: allow - as abbreviation of '@{-1}'”
  1. [Outreachy] branch: allow - as abbreviation of '@{-1}'Elena Petrashen, Mar 18, 2016
  2. Junio C HamanoMar 18, 2016
  3. Mike HommeyMar 18, 2016
  4. Eric SunshineMar 18, 2016
  5. Eric SunshineMar 18, 2016
  6. elena petrashenMar 21, 2016
  7. Eric SunshineMar 21, 2016
  8. Junio C HamanoMar 21, 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.