Title / Description
Code --- git.rb 2010-07-16 17:56:36.000000000 -0300 +++ xpto.rb 2010-07-16 17:55:55.000000000 -0300 @@ -11,23 +11,22 @@ branch = {} -branch[:mirror_cvs] = "#{repositorios_git_path}/desenvolvimento.import.git" branch[:clone_mirror_cvs] = "#{repositorios_git_path}/desenvolvimento.git" -#branch[:instavel_tmp] = "#{repositorios_git_path}/instavel_tmp" +branch[:instavel_tmp] = "#{repositorios_git_path}/instavel_tmp" -#controle_bugs_arquivo = "#{branch[:instavel_tmp]}/src/controle_bugs.txt" +controle_bugs_arquivo = "#{branch[:instavel_tmp]}/src/controle_bugs.txt" -repositorio = Repo.new branch[:mirror_cvs] +reposi = Repo.new branch[:mirror_cvs] #controle = File.new controle_bugs_arquivo #commits_efetuados = controle.to_a.collect { |x| x = x.split(" ").first } puts '=' * 80 -repositorio.log('master',nil, :grep => '6510').each do |commit| +reposi.log('master',nil, :grep => '6510').each do |commit| pretty_print_commit commit #unless commits_efetuados.include? commit.id - pp commit.show[0].diff -# commit.public_methods.sort.each { |x| puts x } +# pp commit.show[0].diff + commit.public_methods.sort.each { |x| puts x } end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code