Make Git::Shell API more explicit
authorChristian Johansen <christian@gitorious.com>
Tue, 11 Sep 2012 13:06:18 +0000 (15:06 +0200)
committerChristian Johansen <christian@gitorious.com>
Tue, 11 Sep 2012 13:06:18 +0000 (15:06 +0200)
commita1ad07dd2248f0ea85106b877c46c92eb121b243
treefa6e276b18ca2bf235421181007a6b7e91fde747
parent685460edde853b947c8e27c6d9a55e59c5528524
Make Git::Shell API more explicit

  - In order to easy alternative implementations, the Git
    API should express the operation rather than just be a
    deferred shell operation
  - Was: git.git("show", "#{ref}:#{path}"),
    Now: git.show(path, ref)
lib/moron/git/repository.rb
lib/moron/git/shell.rb
test/moron/git/repository_test.rb
test/moron/git/shell_test.rb