In OS X and iOS programming frameworks, property list files are used to store information about bundles and applications. Analyzing .plist files can tell you a lot about an application. It is often useful to compare content and view modifications to .plist files to understand what has changed between versions of an application.
$ git diff --name-only "origin/branch1" "origin/branch2" --
$ git diff --name-only "origin/branch1" "origin/branch2 |
grep '.plist$' |
xargs git diff "origin/$branch1" "origin/branch2" --
-
#!/usr/bin/env bash # Usage: pldiff branch1 branch2 git diff --name-only "origin/$1" "origin/$2" | grep '.plist$' | xargs git diff "origin/$1" "origin/$2" --
$ chmod +x pldiffs.sh
-
$ git clone --recursive https://source.corp.lookout.com/lookout/client-ios.git $ cd client_ios
-
$ pldiff.sh release-consumer-4.4.3 release-consumer-4.4.5
You should see a colored diff from every modification.