aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/system_config.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2016-07-02 09:44:48 +0200
committerMartin Afanasjew2016-07-07 01:46:58 +0200
commit77dd9d56ff39f77391d2f429a9ff25e65a362ba2 (patch)
treefbd0d51ffa31677ebfc34e6ee05daa5ccc4eebea /Library/Homebrew/system_config.rb
parent6cdc6b1460c2d81d514f03afa3447c81b75ef801 (diff)
downloadbrew-77dd9d56ff39f77391d2f429a9ff25e65a362ba2.tar.bz2
Use GitRepositoryExtension for HOMEBREW_REPOSITORY
Diffstat (limited to 'Library/Homebrew/system_config.rb')
-rw-r--r--Library/Homebrew/system_config.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb
index 71d5065ad..26a0c27ab 100644
--- a/Library/Homebrew/system_config.rb
+++ b/Library/Homebrew/system_config.rb
@@ -23,15 +23,15 @@ class SystemConfig
end
def head
- Homebrew.git_head || "(none)"
+ HOMEBREW_REPOSITORY.git_head || "(none)"
end
def last_commit
- Homebrew.git_last_commit || "never"
+ HOMEBREW_REPOSITORY.git_last_commit || "never"
end
def origin
- Homebrew.git_origin || "(none)"
+ HOMEBREW_REPOSITORY.git_origin || "(none)"
end
def core_tap_head