cmd/coordinator: rewrite parents commits when filtering

When using the -filter option with the watcher, it is possible that
a commit's parent will not be included in the filter.  This patch
adds the --parents option to git log so that the filtered commit tree
is rewritten such that each commit's parent is in the filtered tree.

Change-Id: I79dad0b8648e0497bc4ae0bd98ec76573d26de5d
Reviewed-on: https://go-review.googlesource.com/16081
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed