{"thread":{"id":"11308","subject":"Wrong Git rename detection results","startedAt":"2007-12-15T21:14:25Z","lastAt":"2007-12-15T21:14:25Z","messageCount":1,"participants":["Martin Koegler"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"63278","messageId":"20071215211425.GA12334@auto.tuwien.ac.at","threadId":"11308","inReplyTo":null,"subject":"Wrong Git rename detection results","fromName":"Martin Koegler","fromEmail":"mkoegler@auto.tuwien.ac.at","sentAt":"2007-12-15T21:14:25Z","receivedAt":"2007-12-15T21:14:25Z","isPatch":false,"sender":{"key":"mkoegler@auto.tuwien.ac.at","avatar":null},"body":"I have reworked parts of my bcusdk repository in a separate branch\n(6d102933f620b81b4a2c09046ec529460bd0c90f), which I merged into master\n(9068de13cb408babf4206aa5ee55a7f8094f4ff3).\n\nI'm interessed in the resulting differenced of the merge:\nhttp://repo.or.cz/w/bcusdk.git?a=commitdiff;h=9068de13cb408babf4206aa5ee55a7f8094f4ff3;hp=6d102933f620b81b4a2c09046ec529460bd0c90f\n\nThe output of git is totally absurd. It tells me, that I moved a C\nfile to a java file with about 70% similarity, many other C files\nwhere copied from one C file with 70% to 80% similarity, misses an\nmove with new lines added (eibd/client/eibclient-int.h =>\neibd/client/c/eibclient-int.h) and so on.\n\nAdditionally, it states, that files were moved to unrelated files, eg:\n\n  eibd/client/def/mcprogmodeoff.inc [moved from eibd/client/openvbusmonitor.c with 60% similarity]\n\nIn this case, eibd/client/mcprogmodeoff.def would have been the\ncorrect logical successor.\n\nWith git 1.5.4.rc0.1122.g5512, the rename detection yields to slightly different\nresults, which are also not correct.\n\nI guess, that the problem is triggered by the fact all files\nare short and share a common (big) license header.\n\nmfg Martin Kögler\nPS:\nI don't doubt, that the results are technical correct (files have the\nprinted similarity).\n"}]}