projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b74f737
)
Chef can handle annotated tags in git now
author
Tom Hughes
<tom@compton.nu>
Tue, 3 Feb 2015 17:53:08 +0000
(17:53 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 3 Feb 2015 17:53:08 +0000
(17:53 +0000)
cookbooks/chef/libraries/git.rb
[deleted file]
patch
|
blob
|
history
diff --git
a/cookbooks/chef/libraries/git.rb
b/cookbooks/chef/libraries/git.rb
deleted file mode 100644
(file)
index
775c2da
..0000000
--- a/
cookbooks/chef/libraries/git.rb
+++ /dev/null
@@
-1,16
+0,0 @@
-class Chef
- class Provider
- class Git
- def remote_resolve_reference
- Chef::Log.debug("#{@new_resource} resolving remote reference")
- command = git('ls-remote', @new_resource.repository, @new_resource.revision, "#{@new_resource.revision}^{}")
- @resolved_reference = shell_out!(command, run_options).stdout.split("\n").last
- if @resolved_reference =~ /^([0-9a-f]{40})\s+(\S+)/
- Regexp.last_match[1]
- else
- nil
- end
- end
- end
- end
-end