google / git-appraise

Distributed code review system for Git repos
Apache License 2.0
5.13k stars 146 forks source link

Change the repository.PullNotes command to remove a redundant call to "ls-remote" #28

Open ojarjur opened 8 years ago

ojarjur commented 8 years ago

As noted by @linquize here, the call to "ls-remote" in the PullNotes method is redundant; it follows a fetch of the remote refs, so they can just be listed locally instead of calling out to the remote repo again.