git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitk diff fails on merges
@ 2005-11-12 13:34 Lorenzo Campedelli
  0 siblings, 0 replies; only message in thread
From: Lorenzo Campedelli @ 2005-11-12 13:34 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hello,

I'm using the following:

[campedel@betelgeuse ~]$ git --version
git version 0.99.9g
[campedel@betelgeuse ~]$ cg --version
cogito-0.16rc1

I think there's a bug in gitk diffing, both
	'Diff selected -> this'
and
	'Diff this -> selected'
fail when applied on the result of a merge.

To replicate the problem you can use the attached script
and then try diffing against branch_1 head.

Thanks for your attention (and for your wonderful work!)

Lorenzo

[-- Attachment #2: script --]
[-- Type: text/plain, Size: 292 bytes --]

cg init
echo abc > a.file
cg add a.file
cg commit -m 'added a.file'
cg tag tag_1
echo def >> a.file
cg commit -m 'modified a.file'
git checkout -b branch_1 tag_1
echo ghi > b.file
cg add b.file
cg commit -m 'added b.file'
cg merge -c master
cg commit -m 'merged with master'
gitk --all

exit

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-12 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-12 13:34 gitk diff fails on merges Lorenzo Campedelli

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