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

Re: git citool/gui bug

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 31, 2008, 03:23 UTC
Message-ID
<20080731032337.GA1860@spearce.org>
In-Reply-To
<20080730185306.GV7616@integratech.com.ar>
Leandro Lucarella <llucarella@integratech.com.ar> wrote:
Show 11 quoted lines
> Hi! I think I've hit a really silly bug in citool/gui:
> 
> git citool shows:
> 
> new file mode 100644     # black
> @@ -0,0 +1,5 @@          # blue
> +                        # green
>  ===============         # orange
> +Hello World!!!!         # green
>  ===============         # orange
> +                        # green

Hmph. Don't put 7 = on a line together. Or 7 < or 7 > for that matter. It confuses some git related tools like git-rerere, the template pre-commit hook, and git-gui.

In this case we think these are the lines between two hunks in a merge conflict, so we are showing them specially to you. Just in case you staged a conflicted hunk by accident during a merge you want it to stand out to help you notice the error.

Yes, it would be nice if git-gui knew this wasn't actually a merge conflict but was instead proper text. Sadly it isn't that smart.

-- 
Shawn.
Previous: Leandro Lucarella
Message 2 of 2 in “git citool/gui bug”
  1. Leandro LucarellaJul 30, 2008
  2. Shawn O. PearceJul 31, 2008

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.