4 def remote_resolve_reference
5 Chef::Log.debug("#{@new_resource} resolving remote reference")
6 command = git('ls-remote', @new_resource.repository, @new_resource.revision, "#{@new_resource.revision}^{}")
7 @resolved_reference = shell_out!(command, run_options).stdout.split("\n").last
8 if @resolved_reference =~ /^([0-9a-f]{40})\s+(\S+)/