parent
984ed836bd
commit
739881b482
@ -1010,7 +1010,7 @@ module Homebrew
|
|||||||
return unless Utils.git_available?
|
return unless Utils.git_available?
|
||||||
|
|
||||||
timestamp = if File.directory?("#{HOMEBREW_REPOSITORY}/.git")
|
timestamp = if File.directory?("#{HOMEBREW_REPOSITORY}/.git")
|
||||||
HOMEBREW_REPOSITORY.cd { `git log -1 --format="%ct" HEAD`.to_i }
|
HOMEBREW_REPOSITORY.cd { `git log -1 --format="%ct" HEAD --`.to_i }
|
||||||
else
|
else
|
||||||
HOMEBREW_LIBRARY.mtime.to_i
|
HOMEBREW_LIBRARY.mtime.to_i
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user