Method: Grit::Repo#to_be_committed
- Defined in:
- lib/gx/enhance.rb
#to_be_committed ⇒ Object
102 103 104 |
# File 'lib/gx/enhance.rb', line 102 def to_be_committed @git.diff_index({:cached => true, :name_only => true}, "HEAD").split("\n") end |