[Bug 131717] kompare won't parse diffs from git

Andy Parkins andyparkins at gmail.com
Sat Aug 12 13:15:53 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131717         




------- Additional Comments From andyparkins gmail com  2006-08-12 13:15 -------
Sorry, I've just realised that I wasn't clear.  Those quotes aren't diff command lines they are output from commands like

$ git diff

That is to say, http://git.or.cz/ the version control system.

The "diff --git" lines are part of git's diff output - not a command line.  To help you reproduce, try the following after installing git (apt-get install git-core)

$ mkdir temp; cd temp
$ git init-db
$ echo "some text" > somefile
$ git add somefile
$ git commit -a -m "Commit a file"
$ echo "some changed text" > somefile
$ git diff
diff --git a/somefile b/somefile
index 7b57bd2..1737c03 100644
--- a/somefile
+++ b/somefile
 @ -1 +1  @
-some text
+some changed text
$ git diff | kompare -

After that last call, kompare just shows a blank page.

Hope that describes the problem in a more understandable way :-)


More information about the Kompare-devel mailing list