module Smeagol
Constants
- LIBDIR
- VERSION
Public Class Methods
git()
click to toggle source
Locates the git binary in common places in the file system.
TODO: Can we use shell.rb for this?
TODO: This hsould not be necessary. 99% of the time it's just `git`.
For the rest if $GIT environment variable.
Returns String path to git executable.
# File lib/smeagol.rb, line 12 def self.git ENV['git'] || ENV['GIT'] || 'git' end