Parse output of 'git status' more conservatively.

Also make 'review sync' say when it has switched back to master.

Change-Id: I9f17e32e9d306eb3193103da36796877967059d2
1 file changed
tree: 5b43ccf3699c8c6cc3a3d04f3c80ac72b68ba64b
  1. api.go
  2. hook.go
  3. README
  4. review.go