)]}' { "commit": "756d846fea4ac4b3bf0a0aea9fbf721138cf34cc", "tree": "e0cbc534cdc234e788f9be69344736d42c74615f", "parents": [ "bb616ddd159508e6c6469626d494a69e28da7032" ], "author": { "name": "Shawn O. Pearce", "email": "spearce@spearce.org", "time": "Mon Mar 12 13:24:10 2007 -0400" }, "committer": { "name": "Shawn O. Pearce", "email": "spearce@spearce.org", "time": "Mon Mar 12 13:26:06 2007 -0400" }, "message": "git-gui: Allow \u0027git gui version\u0027 outside of a repository\n\nI got a little surprise one day when I tried to run \u0027git gui version\u0027\noutside of a Git repository to determine what version of git-gui was\ninstalled on that system. Turns out we were doing the repository\ncheck long before we got around to command line argument handling.\n\nWe now look to see if the only argument we have been given is\n\u0027version\u0027 or \u0027--version\u0027, and if so, print out the version and\nexit immediately; long before we consider looking at the Git\nversion or working directory. This way users can still get to\nthe git-gui version number even if Git\u0027s version cannot be read.\n\nSigned-off-by: Shawn O. Pearce \u003cspearce@spearce.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "2888864e49d3feb4ac9d0f156163a26944a2fc81", "old_mode": 33261, "old_path": "git-gui.sh", "new_id": "60e79ca1b01bc8b057abe17ddab484699a7f5fdb", "new_mode": 33261, "new_path": "git-gui.sh" } ] }