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

Re: [PATCH v1] git-p4: Add option to ignore empty commits

From
Lars Schneider <larsxschneider@gmail.com>
Date
Oct 28, 2015, 22:35 UTC
Message-ID
<9A4A2FFA-BCF0-46B6-A3A5-69D7F197FDA5@gmail.com>
In-Reply-To
<562E8FA2.9050507@diamand.org>
On 26 Oct 2015, at 21:40, Luke Diamand <luke@diamand.org> wrote:
Show 7 quoted lines
> On 24/10/15 19:08, Lars Schneider wrote:
>> 
>> On 21 Oct 2015, at 08:32, Luke Diamand <luke@diamand.org> wrote:
>> 
>>> On 19/10/15 19:43, larsxschneider@gmail.com wrote:
>>>> From: Lars Schneider <larsxschneider@gmail.com>
>>>> 
-- snip --
Show 6 quoted lines
>> 
>>> Also, could you use python3 style print stmnts, print("whatever") ?
>> Sure. How do you prefer the formatting? Using "format" would be true Python 3 style I think:
>> print('Ignoring file outside of client spec: {}'.format(path))
> 
> Will that breaker older versions of python? There's a statement somewhere about how far back we support.

The "format" method requires Python 2.6 according to the Python docs: https://docs.python.org/2/library/functions.html#format

Luckily this is also the version we aim to support according to Documentation/CodingGuidelines

Thanks, Lars

Previous: Luke Diamand
Message 8 of 8 in “git-p4: Add option to ignore empty commits”
  1. git-p4: Add option to ignore empty commitslarsxschneider@gmail.com, Oct 19, 2015
  2. Junio C HamanoOct 20, 2015
  3. Lars SchneiderOct 24, 2015
  4. Luke DiamandOct 24, 2015
  5. Luke DiamandOct 21, 2015
  6. Lars SchneiderOct 24, 2015
  7. Luke DiamandOct 26, 2015
  8. Lars SchneiderOct 28, 2015

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.