Sha256: 213c010defba7014205c00b392f02e48fcefc676f6ff45a90103a2072cfb25fe
Contents?: true
Size: 451 Bytes
Versions: 12
Compression:
Stored size: 451 Bytes
Contents
module DNGG module Stash def try_stash status = `git status --ignore-submodules | 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
12 entries across 12 versions & 1 rubygems