Merge pull request #7074 from dawidd6/log-homebrew-path
log: use user path
This commit is contained in:
commit
575f76a3fa
@ -29,6 +29,10 @@ module Homebrew
|
||||
def log
|
||||
log_args.parse
|
||||
|
||||
# As this command is simplifying user run commands then let's just use a
|
||||
# user path, too.
|
||||
ENV["PATH"] = ENV["HOMEBREW_PATH"]
|
||||
|
||||
if ARGV.named.empty?
|
||||
git_log HOMEBREW_REPOSITORY
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user