Skip to content

Fix Git module config method #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into fix_config_set_when_no_git_dir
  • Loading branch information
jcouball authored Dec 23, 2020
commit c08c7029a12a624c0e7994813014271c5aed951e
4 changes: 2 additions & 2 deletions lib/git/lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def config_remote(name)

def config_get(name)
do_get = Proc.new do |path|
command('config', ['--get', name])
command('config', '--get', name)
end

if @git_dir
Expand All @@ -505,7 +505,7 @@ def global_config_get(name)

def config_list
build_list = Proc.new do |path|
parse_config_list command_lines('config', ['--list'])
parse_config_list command_lines('config', '--list')
end

if @git_dir
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.