Method: Git::Lib#diff_index

Defined in:
lib/git/lib.rb

#diff_index(treeish)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

compares the index and the repository



958
959
960
# File 'lib/git/lib.rb', line 958

def diff_index(treeish)
  diff_as_hash('diff-index', treeish)
end