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

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

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Mar 18, 2016, 18:15 UTC
Message-ID
<CAPig+cQ7pf2S_bB6tgbe2BazLNv9JpN=35XYGopYViNr3YqgmQ@mail.gmail.com>
In-Reply-To
<20160318170255.GA9846@glandium.org>
On Fri, Mar 18, 2016 at 1:02 PM, Mike Hommey <mh@glandium.org> wrote:
Show 6 quoted lines
> 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 :)

See 658df95 (add DEVELOPER makefile knob to check for acknowledged warnings, 2016-02-25), which is already in 'master'.

Previous: Mike HommeyNext: Eric Sunshine
Message 4 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.