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

Re: Error pushing new branch: value too great for base (error token is...

From
Jacob Keller <jacob.keller@gmail.com>
Date
Aug 10, 2015, 22:29 UTC
Message-ID
<CA+P7+xpKHw8xkpMSjCftmAnMh=J_R9HxhYD48O2-P2WKUH1diw@mail.gmail.com>
In-Reply-To
<CAGDgvc1FJ0K+OLQBj8iXPCnqMFyBD3mp32k0aTztQkKKuxNxtQ@mail.gmail.com>

On Mon, Aug 10, 2015 at 2:54 AM, Gaurav Chhabra <varuag.chhabra@gmail.com> wrote:

Show 6 quoted lines
> Apologies for the delay in reply! I tried your suggestion and it
> works. Thanks! :)
>
> I'm curious why integer comparison is throwing error. Shouldn't i be
> comparing numbers with numeric operator?
>

Yes, but shell doesn't treat hex numbers as numbers. So it will work only if the string is a decimal number.

Regards, Jake

Previous: Gaurav ChhabraNext: Eric Sunshine
Message 4 of 6 in “Error pushing new branch: value too great for base (error token is...”
  1. Gaurav ChhabraAug 5, 2015
  2. Eric SunshineAug 5, 2015
  3. Gaurav ChhabraAug 10, 2015
  4. Jacob KellerAug 10, 2015
  5. Eric SunshineAug 10, 2015
  6. Gaurav ChhabraAug 11, 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.