class Terradactyl::StacksPlanFilterGitDiffFetchHead

Public Class Methods

desc() click to toggle source
# File lib/terradactyl/filters.rb, line 58
def self.desc
  'A list of all stacks that differ from Git FETCH_HEAD'
end
name() click to toggle source
# File lib/terradactyl/filters.rb, line 54
def self.name
  'diff-fetch-head'
end

Public Instance Methods

git_cmd() click to toggle source
# File lib/terradactyl/filters.rb, line 62
def git_cmd
  `git --no-pager diff --name-only FETCH_HEAD ORIG_HEAD .`
rescue StandardError
  String.new
end