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

Re: [JGIT PATCH 1/2] Add getLong to RepositoryConfig

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jun 13, 2009, 19:21 UTC
Message-ID
<20090613192122.GT16497@spearce.org>
In-Reply-To
<4A335BD7.60107@pelagic.nl>
Ferry Huberts <ferry.huberts@pelagic.nl> wrote:
> Shawn O. Pearce wrote:
> > This supports parsing 64 bit configuration values.
...
> > +	/**
> > +	 * Obtain an integer value from the configuration.
> s/integer/long/g in this (copy&paste) javadoc part
Its still integer as in from the integer number space, and not say
a floating point decimal.  Thus I didn't bother with this edit,
I figured the method name was clear enough that it would return
a long, but the concept of it parsing only "2g" and not "1.5g"
should go in the documentation.
 
And again, please trim parts you aren't replying to.
-- 
Shawn.
Previous: Ferry Huberts
Message 7 of 7 in “Add getLong to RepositoryConfig”
  1. 1/2 Add getLong to RepositoryConfigShawn O. Pearce, Jun 12, 2009
  2. 2/2 Allow core.packedGitLimit to exceed "2 g"Shawn O. Pearce, Jun 12, 2009
  3. Ferry HubertsJun 13, 2009
  4. Shawn O. PearceJun 13, 2009
  5. Ferry HubertsJun 14, 2009
  6. Ferry HubertsJun 13, 2009
  7. Shawn O. PearceJun 13, 2009

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.