Method: Git::Lib#process_tag_data

Defined in:
lib/git/lib.rb

#process_tag_data(data, name)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



578
579
580
581
582
583
584
585
586
587
588
# File 'lib/git/lib.rb', line 578

def process_tag_data(data, name)
  hsh = { 'name' => name }

  each_cat_file_header(data) do |key, value|
    hsh[key] = value
  end

  hsh['message'] = "#{data.join("\n")}\n"

  hsh
end