lib/omnibus/git_cache.rb
def create_cache_path
      if File.directory?(cache_path)
        false
      else
        create_directory(File.dirname(cache_path))
        git_cmd("init -q")
        # On windows, git is very picky about single vs double quotes
        git_cmd("config --local user.name \"Omnibus Git Cache\"")
        git_cmd("config --local user.email \"omnibus@localhost\"")
        true
      end
    end
def create_cache_path
      if File.directory?(cache_path)
        false
      else
        create_directory(File.dirname(cache_path))
        git_cmd("init -q")
        # On windows, git is very picky about single vs double quotes
        git_cmd("config --local user.name \"Omnibus Git Cache\"")
        git_cmd("config --local user.email \"omnibus@localhost\"")
        true
      end
    end
Creates the full path if it does not exist already.

 @return [true, false]
   true if the path was created, false otherwise