class RuggedRepositoryWithCustomConfig

@private Overrides Rugged::Repository#global_config so that we can use a custom config file for all git-commander related configurations

Attributes

global_config[R]

Public Class Methods

new(repository) click to toggle source
Calls superclass method
# File lib/git_commander/plugins/git.rb, line 16
def initialize(repository)
  @global_config = Rugged::Config.new(CONFIG_FILE_PATH)
  super repository
end