GNOME Bugzilla – Bug 683783
Meld shows directory view from VC's top dir with Git, Subversion 1.7
Last modified: 2012-09-21 21:50:52 UTC
meld data/ in Meld's git repository shows dirdiff view from ".". The expected behavior would be showing only the data/ subdirectory: meld DIR1: Initiate a recursive diff between DIR1 and the version-controlled copy of DIR1. The problem has been reported to Debian at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687111
Created attachment 224667 [details] [review] Possible patch The attached patch fixes this bug for me, but it does introduce a slight behaviour change. Specifically, the VC repository root is now *not* the top level of the VC tree when a subdirectory comparison is requested, rather the requested directory is used; this is probably actually the correct behaviour. I've only tested this patch with Git, though I imagine that subversion will behave similarly. I'd appreciate it if you could test the patch and let me know how it goes.
It seems to work fine with Git and Subversion 1.7 as well.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.