Add a couple comments
This commit is contained in:
@@ -134,6 +134,7 @@ _gs_output_file_group() {
|
||||
$pad$c_dark [$c_rst$e$c_dark] $c_group$relative$c_rst"
|
||||
# Export numbered variables in the order they are displayed.
|
||||
# (Exports full path, but displays relative path)
|
||||
# fetch first file (in the case of oldFile -> newFile) and remove quotes
|
||||
local filename=$(eval echo $(echo ${stat_file[$i]} | egrep -o '^"([^\\"]*(\\.[^"]*)*)"|^[^ ]+'))
|
||||
export $git_env_char$e="$project_root/$filename"
|
||||
let e++
|
||||
|
||||
@@ -131,6 +131,7 @@ def output_file_group(group)
|
||||
puts "#{c_group}##{@c[:rst]} #{@c[h[:col]]}#{h[:msg]}:\
|
||||
#{padding}#{@c[:dark]} [#{@c[:rst]}#{@e}#{@c[:dark]}] #{c_group}#{rel_file}#{@c[:rst]}"
|
||||
# Save the ordered list of output files
|
||||
# fetch first file (in the case of oldFile -> newFile) and remove quotes
|
||||
@output_files << if h[:file] =~ /^"([^\\"]*(\\.[^"]*)*)"/
|
||||
$1.gsub(/\\(.)/,'\1')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user