File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def chdir # :yields: the Git::Path
119
119
120
120
# returns the repository size in bytes
121
121
def repo_size
122
- return IO . popen ( "du -s" , { chdir : repo . path } ) . read . chomp . split . first . to_i
122
+ return IO . popen ( "du -s" , { :chdir => repo . path } ) . read . chomp . split . first . to_i
123
123
end
124
124
125
125
#g.config('user.name', 'Scott Chacon') # sets value
Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ def log_path_options(opts)
808
808
809
809
def run_command ( git_cmd , chdir = nil , &block )
810
810
commands = [ git_cmd ]
811
- commands << { chdir : chdir } unless chdir . nil?
811
+ commands << { :chdir => chdir } unless chdir . nil?
812
812
if block_given?
813
813
retval = IO . popen ( *commands , &block )
814
814
return retval , $?
You can’t perform that action at this time.
0 commit comments