{"thread":{"id":"2422","subject":"Re: Check for differents trees","startedAt":"2005-11-10T06:35:02Z","lastAt":"2005-11-10T06:35:02Z","messageCount":1,"participants":["Marco Costalba"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"11456","messageId":"20051110063502.44633.qmail@web26302.mail.ukl.yahoo.com","threadId":"2422","inReplyTo":null,"subject":"Re: Check for differents trees","fromName":"Marco Costalba","fromEmail":"mcostalba@yahoo.it","sentAt":"2005-11-10T06:35:02Z","receivedAt":"2005-11-10T06:35:02Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"Junio C Hamano wrote:\n\n>Marco Costalba <mcostalba@yahoo.it> writes:\n>\n>>   as you said, the speed is almost the same but your way is clearly better.\n>\n>\n>How often do you do this --diff-filter=AD and why?\n>\n>If it is a common enough operation, we could add a specific hack\n>to stop feeding the diff machinery with unwanted kind of changes\n>when diff-filter is set and none of -B/-C/-M are used.  That\n>_might_ speed things up for you.\n>\n\nSorry for late answer byt I was off line a few days.\n\nThanks, It will be great.\n\nI have impemented a tree viewer for qgit. Tree view is updated when user browses through\nrevisions. Loading the file names of a given tree, altough only for the open directories, is an\nexpensive operation. So I check for different files anytime the user select a new revision and\nthe tree viewer is open, I use this test to skip tree reloading if trees have the same files.\n\nI have made some speed test with \ngit-diff-tree -r --name-status --diff-filter=AD sha1 sha2\n\n\n\n  Marco\n\n\n\n\t\t\n__________________________________ \nYahoo! FareChase: Search multiple travel sites in one click.\nhttp://farechase.yahoo.com\n"}]}