review post: Fix ensureCommitsPushed
review post: Fix ensureCommitsPushed

We need to use strings.TrimSpace to get rid of leading whitespaces.

Change-Id: c59a6e8274
Story-Id: salsaflow/salsaflow#152

salsaflow/salsaflow,salsaflow/salsaflow