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. README
  2. api.go
  3. hook.go
  4. review.go