Sha256: 73fc4bd35b86fc230171159c209c582b93fb41608ce1e3997a5451a5f4f06273
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
module GitWrapper module Commands class DiffTree < Git def commit(commit) @commit = commit self end def command "diff-tree #{@commit} -r --name-status" end def result files = output.split(/\n/)[1..-1] || [] files.map do |line| Results::DiffNameStatus.parse(line) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_wrapper-1.1.0 | lib/git_wrapper/commands/diff_tree.rb |