git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git citool/gui bug
@ 2008-07-30 18:53 Leandro Lucarella
  2008-07-31  3:23 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Leandro Lucarella @ 2008-07-30 18:53 UTC (permalink / raw)
  To: git

Hi! I think I've hit a really silly bug in citool/gui:

1) mkdir test; cd test
2) git init
3) vi test.txt # add content
4) cat test.txt

===============
Hello World!!!!
===============

5) git citool
6) add the test.txt file to the index
7) see test.txt index diff

git citool shows:

new file mode 100644     # black
@@ -0,0 +1,5 @@          # blue
+                        # green
 ===============         # orange
+Hello World!!!!         # green
 ===============         # orange
+                        # green


Please Cc me, I'm not in the list.

Thank you!

-- 
Leandro Lucarella
Integratech S.A.
4571-5252

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git citool/gui bug
  2008-07-30 18:53 git citool/gui bug Leandro Lucarella
@ 2008-07-31  3:23 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2008-07-31  3:23 UTC (permalink / raw)
  To: Leandro Lucarella; +Cc: git

Leandro Lucarella <llucarella@integratech.com.ar> wrote:
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-31  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 18:53 git citool/gui bug Leandro Lucarella
2008-07-31  3:23 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).