Add a couple comments

This commit is contained in:
Jacob Lukas
2011-11-09 20:14:42 -08:00
parent bfe91e04f0
commit ea26846077
2 changed files with 2 additions and 0 deletions

View File

@@ -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++

View File

@@ -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