Skip to contentSkip to conversation

git merge with tkdiff fails (extra operand)

DISCUSSION Sebastian Schuberth 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I'm running Git 1.5.3.7 under SuSE 10.0. After pulling and getting a merge conflict, "git mergetool" by default is configured to run tkdiff. Unfortunately, tkdiff starts with an error:

diff failed:
diff: extra operand
Amira/QxViewer.cpp.REMOTE.28414
diff: Try diff --help for more information.

I'm not sure whether the error is with the tkdiff integration into Git, or with tkdiff itself (as it refers to the help for "diff").

Any insights?

Signature · 1 line
Sebastian Schuberth
#1 lore raw

Hi,

Quoted 11 lines · Sebastian Schuberth

I'm running Git 1.5.3.7 under SuSE 10.0. After pulling and getting a merge conflict, "git mergetool" by default is configured to run tkdiff. Unfortunately, tkdiff starts with an error:

diff failed:
diff: extra operand
Amira/QxViewer.cpp.REMOTE.28414
diff: Try diff --help for more information.

I'm not sure whether the error is with the tkdiff integration into Git, or with tkdiff itself (as it refers to the help for "diff").

It seems that tkdiff calls diff with arguments that diff does not like. What version of tkdiff do you use?

Ciao,
Dscho

P.S.: to make sure that it is tkdiff, I would search for this line in tkdiff:

set g(debug) f

and change the "f" to "t".

#2 lore raw
Quoted 9 lines
Quoted 9 lines

I'm running Git 1.5.3.7 under SuSE 10.0. After pulling and getting a merge conflict, "git mergetool" by default is configured to run tkdiff. Unfortunately, tkdiff starts with an error:

diff failed:
diff: extra operand
Amira/QxViewer.cpp.REMOTE.28414
diff: Try diff --help for more information.

Quoted 5 lines
Quoted 2 lines

I'm not sure whether the error is with the tkdiff integration into Git, or with tkdiff itself (as it refers to the help for "diff").

It seems that tkdiff calls diff with arguments that diff does not like. What version of tkdiff do you use?

I'm running TkDiff 4.0.2 (and "diff (GNU diffutils) 2.8.7").

Quoted 6 lines

P.S.: to make sure that it is tkdiff, I would search for this line in tkdiff:

set g(debug) f

and change the "f" to "t".

I cannot find this line in my version of tkdiff ... in fact, the string "debug" does not occur anywhere in the file.

Signature · 1 line
Sebastian Schuberth
#3 lore raw

Hi,

Quoted 20 lines · Sebastian Schuberth
Quoted 9 lines
Quoted 9 lines

I'm running Git 1.5.3.7 under SuSE 10.0. After pulling and getting a merge conflict, "git mergetool" by default is configured to run tkdiff. Unfortunately, tkdiff starts with an error:

diff failed:
diff: extra operand
Amira/QxViewer.cpp.REMOTE.28414
diff: Try diff --help for more information.

Quoted 5 lines
Quoted 2 lines

I'm not sure whether the error is with the tkdiff integration into Git, or with tkdiff itself (as it refers to the help for "diff").

It seems that tkdiff calls diff with arguments that diff does not like. What version of tkdiff do you use?

I'm running TkDiff 4.0.2 (and "diff (GNU diffutils) 2.8.7").

Quoted 3 lines

P.S.: to make sure that it is tkdiff, I would search for this line in tkdiff:

Quoted 6 lines
Quoted 3 lines

set g(debug) f

and change the "f" to "t".

I cannot find this line in my version of tkdiff ... in fact, the string "debug" does not occur anywhere in the file.

Ah, I was looking at the latest and greatest: 4.1.3. You can, too:

http://tkdiff.cvs.sourceforge.net/tkdiff/src/tkdiff?revision=1.48&view=markup

Hth,
Dscho

#4 lore raw
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

It seems that tkdiff calls diff with arguments that diff does not like. What version of tkdiff do you use?

I'm running TkDiff 4.0.2 (and "diff (GNU diffutils) 2.8.7").

Quoted 5 lines

P.S.: to make sure that it is tkdiff, I would search for this line in tkdiff:

set g(debug) f

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

and change the "f" to "t".

I cannot find this line in my version of tkdiff ... in fact, the string "debug" does not occur anywhere in the file.

Ah, I was looking at the latest and greatest: 4.1.3. You can, too:

http://tkdiff.cvs.sourceforge.net/tkdiff/src/tkdiff?revision=1.48&view=markup

Thanks, with that version it works for me (the link actually downloads version 4.1.4 currently). Maybe the minimum version of TkDiff should be listed as a prerequisite, or "git mergetool" should be enhanced to support older versions, too.

Signature · 1 line
Sebastian Schuberth