Sha256: 652967cea95537b9d57b15480ad57593c25058ecba00c162e30fcd8f9f7b2f01
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
module GGSM module Stash def try_stash status = `git status | grep 'nothing to commit'` need_stash = false if status.strip == '' need_stash = true `git stash` end need_stash end def stash_pop(arry_conflict, module_name) stash_pop = `git stash pop | grep 'CONFLICT'` if stash_pop.strip != '' arry_conflict.push(module_name) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ggsm-1.0.2 | lib/ggsm/util/stash.rb |
ggsm-1.0.1 | lib/ggsm/util/stash.rb |
ggsm-1.0.0 | lib/ggsm/util/stash.rb |