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

Re: [QGit PATCH] Remove most ASSERT warnings in Git::setStatus

From
Michael <barra_cuda@katamail.com>
Date
May 20, 2007, 14:41 UTC
Message-ID
<200705201641.20305.barra_cuda@katamail.com>
In-Reply-To
<e5bfff550705200723i7b4e21ebi6a2c51d66659b388@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com>:
Show 9 quoted lines
> So I rather would prefer something like
> 
>   line.section('\t', 0, 0).section(' ', -1, -1).left(1)
> 
> because we could have more then one file separated by a tab, so
> 
>  line.section('\t', -2, -2).right(1)
> 
> it seems to me a little bit fragile. What do you think?
You're right.
> Also I don't understand why you consider the right most (right(1)),
> instead of the left most character as the status.
Only because it was simpler AND because I didn't know it was wrong.
Previous: Marco CostalbaNext: Marco Costalba
Message 4 of 5 in “Re: [QGit PATCH] Remove most ASSERT warnings in Git::setStatus”
  1. Marco CostalbaMay 20, 2007
  2. MichaelMay 20, 2007
  3. Marco CostalbaMay 20, 2007
  4. MichaelMay 20, 2007
  5. Marco CostalbaMay 20, 2007

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.