Fixed GetCommit() - returns valid diff with multiple files

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

Krzysztof Śmigiel
rb-gateway
rb-gateway

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.



Review Bot
  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 Trowbridge
  1. Ship It!
  2. 
      
Krzysztof Śmigiel
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (802986c)
Loading...