lib/prick/local/git.rb in prick-0.36.0 vs lib/prick/local/git.rb in prick-0.39.0
- old
+ new
@@ -60,9 +60,11 @@
def self.tag() Tag end
# Access to branch methods
def self.branch() Branch end
+ # List files in repository
+ def self.list() Command.command("git ls-files") end
module Tag
# The associated commit ID of a tag
def self.id(tag)
tag && Command.command("git rev-list -n 1 #{tag}").first