Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure the file actually exists (it doesn't with explain-only mode).

  • Loading branch information...
commit df3b0130ea05cf12c1a2842461603f93a356a173 1 parent 5f309a9
Brian Donovan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/git-review
View
2  bin/git-review
@@ -202,7 +202,7 @@ pushReview() {
git push $change_args ||
die "Could not push your changes for review. Perhaps you need to update first?"
- git_push_output=$(cat $GIT_OUTPUT_FILE)
+ git_push_output=$(test -f $GIT_OUTPUT_FILE && cat $GIT_OUTPUT_FILE)
if [ "$CURRENT" = "$TRACK" ]; then
git reset --hard $REMOTE/$TRACK ||
Please sign in to comment.
Something went wrong with that request. Please try again.