Repositories

<ojarjur@google.com>
2015-10-26 23:46:49

Changed the handling of the git repo to be injected rather than an implicit singleton.

This, in turn, will allow us to build a mock git repo that we can use for testing, as opposed to the current test behavior, which relies on this repos review history.

To keep this change manageable, it only includes the injecting of the repo. The updates to the tests will come later.

<ckerur>
ckerur commented on 2015-10-28 00:07:00 with status 👍
<ckerur>
ckerur commented on 2015-10-28 00:07:00 with status ℹ️

Cool ! Waiting for the tests

<ckerur>
ckerur commented on 2015-10-28 00:07:00 with status ℹ️
Location { commit: Some("420264cf88df8400568bc2d178c72f2cb396a3ac"), path: Some("commands/request.go"), range: Some(Range { start_line: Some(48) }) }

Where is requester being used ?

<ojarjur>
ojarjur commented on 2015-10-28 00:08:25 with status ℹ️
Location { commit: Some("420264cf88df8400568bc2d178c72f2cb396a3ac"), path: Some("commands/request.go"), range: Some(Range { start_line: Some(48) }) }

It goes into the request on line 56 (it's one of the fields in the serialized JSON).