git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git merge with tkdiff fails (extra operand)
@ 2008-01-28  9:58 Sebastian Schuberth
  2008-01-28 13:13 ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Schuberth @ 2008-01-28  9:58 UTC (permalink / raw)
  To: git

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?

-- 
Sebastian Schuberth

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

* Re: git merge with tkdiff fails (extra operand)
  2008-01-28  9:58 git merge with tkdiff fails (extra operand) Sebastian Schuberth
@ 2008-01-28 13:13 ` Johannes Schindelin
  2008-01-28 14:05   ` Sebastian Schuberth
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2008-01-28 13:13 UTC (permalink / raw)
  To: Sebastian Schuberth; +Cc: git

Hi,

On Mon, 28 Jan 2008, Sebastian Schuberth wrote:

> 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".

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

* Re: git merge with tkdiff fails (extra operand)
  2008-01-28 13:13 ` Johannes Schindelin
@ 2008-01-28 14:05   ` Sebastian Schuberth
  2008-01-28 14:24     ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Schuberth @ 2008-01-28 14:05 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

> > 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?

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

> 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.

-- 
Sebastian Schuberth

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

* Re: git merge with tkdiff fails (extra operand)
  2008-01-28 14:05   ` Sebastian Schuberth
@ 2008-01-28 14:24     ` Johannes Schindelin
  2008-01-28 14:37       ` Sebastian Schuberth
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2008-01-28 14:24 UTC (permalink / raw)
  To: Sebastian Schuberth; +Cc: git

Hi,

On Mon, 28 Jan 2008, Sebastian Schuberth wrote:

> > > 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?
> 
> I'm running TkDiff 4.0.2 (and "diff (GNU diffutils) 2.8.7").
> 
> > 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.

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

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

* Re: git merge with tkdiff fails (extra operand)
  2008-01-28 14:24     ` Johannes Schindelin
@ 2008-01-28 14:37       ` Sebastian Schuberth
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Schuberth @ 2008-01-28 14:37 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

> > > 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").
> >
> > > 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.
>
> 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.

-- 
Sebastian Schuberth

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

end of thread, other threads:[~2008-01-28 14:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28  9:58 git merge with tkdiff fails (extra operand) Sebastian Schuberth
2008-01-28 13:13 ` Johannes Schindelin
2008-01-28 14:05   ` Sebastian Schuberth
2008-01-28 14:24     ` Johannes Schindelin
2008-01-28 14:37       ` Sebastian Schuberth

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).