lib/jekyll-admin/server/version.rb
# Get the src git repo instance.
Get the src git repo instance.
Get the src git repo instance .
def git_repo
        begin
          @git_repo ||= Git.open(JekyllAdmin.site.source) 
        rescue ArgumentError
          Jekyll.logger.warn "Not a git repo: " + $!.message
          @git_repo ||= true
        end
      end
def git_repo begin @git_repo ||= Git . open ( JekyllAdmin . site . source ) rescue ArgumentError Jekyll . logger . warn "Not a git repo: " + $! . message @git_repo ||= true end end
Get the src git repo instance.
Get the src git repo instance .
#, :log => Jekyll.logger)