)]}'
{
  "commit": "e3bc06f20c7a60e8042d3f8741551ce606d31c40",
  "tree": "f07bba36c791ac9e6abbf7f419cde106e953444a",
  "parents": [
    "ce08532bfdded310e8ac7dfd0c490f29a7c27c98"
  ],
  "author": {
    "name": "akutz",
    "email": "sakutz@gmail.com",
    "time": "Sun Nov 29 17:16:21 2015 -0600"
  },
  "committer": {
    "name": "Steve Francia",
    "email": "steve.francia@gmail.com",
    "time": "Fri Dec 11 16:17:57 2015 -0500"
  },
  "message": "Refactored IsSet to examine keys\n\nThis patch refactors the IsSet function to examine the keys in order\nto see if a key is set instead of simply checking if a value is nil.\nThis change is necessary due to the fact that default values via\nflag bindings will result in the old logic always being true for\nthe IsSet function due to a type\u0027s default value such as 0 for an\ninteger or an empty string for a string. While a type\u0027s default\nvalue may be preferable when getting the value for a key, it\nresults in a false positive when determining if a key is actually\nset. This change enables users to detect whether a key is set by\nonly returning a flag\u0027s value if it has changed.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9727f483d5a26708bccd9c76adb69c1170b8310d",
      "old_mode": 33188,
      "old_path": "viper.go",
      "new_id": "680b3311c541ecd6d5a91593fe96f84feb2c0eb7",
      "new_mode": 33188,
      "new_path": "viper.go"
    },
    {
      "type": "modify",
      "old_id": "d9aae00b9585f448fc169eb7e13c0bb652265e0f",
      "old_mode": 33188,
      "old_path": "viper_test.go",
      "new_id": "aa62235178f1c7f015697caf090c01dc0c140d1a",
      "new_mode": 33188,
      "new_path": "viper_test.go"
    }
  ]
}
