Diffing plists is hard, mainly because the sort order in NSDictionaries is not stable. Thus, a simple one-key insertion can be lost in the noise of dozens of rearranged keys.
plutil, being the main tool people would use to manipulate this file type, should get an argument switch that makes it output dictionary elements in a stably sorted order. This would make it suitable for making it a default filter preset in FileMerge for plist files, for instance, making it a lot easier to diff two plist files.
Description
Diffing plists is hard, mainly because the sort order in NSDictionaries is not stable. Thus, a simple one-key insertion can be lost in the noise of dozens of rearranged keys.
plutil, being the main tool people would use to manipulate this file type, should get an argument switch that makes it output dictionary elements in a stably sorted order. This would make it suitable for making it a default filter preset in FileMerge for plist files, for instance, making it a lot easier to diff two plist files.
Product Version: Xcode 7.3 (7D175) Created: 2016-04-26T16:39:32.447870 Originated: 2016-04-26T18:39:00 Open Radar Link: http://www.openradar.me/25932565