Fixed GetCommit() - returns valid diff with multiple files

Review Request #7958 — Created Feb. 12, 2016 and submitted

Information

rb-gateway

Reviewers

GetCommit() was not working properly. Always called Patch(0) which returns first file only.
I've made changes to support multiple files and fixed tests.


 
reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        git_repository_test.go
        git_repository.go
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        git_repository_test.go
        git_repository.go
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
KS
Review request changed
Status:
Completed
Change Summary:
Pushed to master (802986c)