Method: Gitgo::Repo#empty_sha

Defined in:
lib/gitgo/repo.rb

#empty_shaObject

Returns the sha for an empty string, and ensures the corresponding object is set in the repo.



248
249
250
# File 'lib/gitgo/repo.rb', line 248

def empty_sha
  @empty_sha ||= git.set(:blob, '')
end