{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/comments/41824381","id":41824381,"diff_hunk":"@@ -0,0 +1,22 @@\n+class MozGitTools < Formula\n+  desc \"Tools for working with Git at Mozilla\"\n+  homepage \"https://github.com/mozilla/moz-git-tools\"\n+  head \"https://github.com/mozilla/moz-git-tools.git\"\n+\n+  def install\n+    # Install all the executables, except git-root since that conflicts with git-extras","path":"moz-git-tools.rb","position":7,"original_position":7,"commit_id":"528c14600d7027ccf5a4863b116179f54ce86a57","original_commit_id":"528c14600d7027ccf5a4863b116179f54ce86a57","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"body":"Doubt it, Mozilla's version is literally just \r\n```bash\r\n#!/bin/bash\r\n\r\ngit rev-parse --show-toplevel\r\n```\r\nWhereas git-extras' shows relative paths and gives a helpful warning if the user is not in a repo at the moment.\r\n\r\nThat said, it was an arbitrary decision - I was just trying to avoid having to do a conflicts_with since that seemed needlessly heavy-handed. I'll defer to the maintainers' judgement as to the right course of action here.","created_at":"2015-10-13T03:47:24Z","updated_at":"2015-10-13T03:47:24Z","html_url":"https://github.com/Homebrew/homebrew-head-only/pull/173#discussion_r41824381","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/comments/41824381"},"html":{"href":"https://github.com/Homebrew/homebrew-head-only/pull/173#discussion_r41824381"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173","id":47378064,"html_url":"https://github.com/Homebrew/homebrew-head-only/pull/173","diff_url":"https://github.com/Homebrew/homebrew-head-only/pull/173.diff","patch_url":"https://github.com/Homebrew/homebrew-head-only/pull/173.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/173","number":173,"state":"open","locked":false,"title":"moz-git-tools (new formula)","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"body":"moz-git-tools is a set of git commands for working with Git at Mozilla\r\n\r\nSigned-off-by: Bob W. Hogg <hogg.bob.2@gmail.com>","created_at":"2015-10-11T23:23:24Z","updated_at":"2015-10-13T03:47:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35edc11394b591c5f97ddda74b93d4753d9dabd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/173/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/statuses/528c14600d7027ccf5a4863b116179f54ce86a57","head":{"label":"rwhogg:add-moz-git-tools","ref":"add-moz-git-tools","sha":"528c14600d7027ccf5a4863b116179f54ce86a57","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"repo":{"id":44073024,"name":"homebrew-head-only","full_name":"rwhogg/homebrew-head-only","owner":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwhogg/homebrew-head-only","description":":rage4: Some foamy head is good in your brew, but you don't want a pour that is all head.","fork":true,"url":"https://api.github.com/repos/rwhogg/homebrew-head-only","forks_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/forks","keys_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/teams","hooks_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/hooks","issue_events_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/issues/events{/number}","events_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/events","assignees_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/assignees{/user}","branches_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/branches{/branch}","tags_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/tags","blobs_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/statuses/{sha}","languages_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/languages","stargazers_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/stargazers","contributors_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/contributors","subscribers_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/subscribers","subscription_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/subscription","commits_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/contents/{+path}","compare_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/merges","archive_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/downloads","issues_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/issues{/number}","pulls_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/pulls{/number}","milestones_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/milestones{/number}","notifications_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/labels{/name}","releases_url":"https://api.github.com/repos/rwhogg/homebrew-head-only/releases{/id}","created_at":"2015-10-11T23:00:45Z","updated_at":"2015-10-11T23:00:46Z","pushed_at":"2015-10-12T03:09:37Z","git_url":"git://github.com/rwhogg/homebrew-head-only.git","ssh_url":"git@github.com:rwhogg/homebrew-head-only.git","clone_url":"https://github.com/rwhogg/homebrew-head-only.git","svn_url":"https://github.com/rwhogg/homebrew-head-only","homepage":"brew.sh","size":1439,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"a3ce124eb8e85313cf8b0a1e002282f7e04d88c0","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":8077760,"name":"homebrew-head-only","full_name":"Homebrew/homebrew-head-only","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew-head-only","description":":rage4: Some foamy head is good in your brew, but you don't want a pour that is all head.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-head-only","forks_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-head-only/releases{/id}","created_at":"2013-02-07T17:30:39Z","updated_at":"2015-09-03T10:43:19Z","pushed_at":"2015-10-12T03:09:37Z","git_url":"git://github.com/Homebrew/homebrew-head-only.git","ssh_url":"git@github.com:Homebrew/homebrew-head-only.git","clone_url":"https://github.com/Homebrew/homebrew-head-only.git","svn_url":"https://github.com/Homebrew/homebrew-head-only","homepage":"brew.sh","size":1439,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":16,"forks":123,"open_issues":16,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173"},"html":{"href":"https://github.com/Homebrew/homebrew-head-only/pull/173"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/173"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-head-only/statuses/528c14600d7027ccf5a4863b116179f54ce86a57"}}}}