summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2012-06-06 18:11:28 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2012-06-06 18:11:28 +0300
commitc02f36a7e470b09ef305510239c94f7eb82597b2 (patch)
tree961f1c4c6a2ff56c6606853262c1d425b2ef9da9
parente64ec8674bcb6ba246031a6785c220af8b27bd7b (diff)
git-post-review: also set branch
-rwxr-xr-xgit-post-review2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-post-review b/git-post-review
index 1bf9077..5d41c4b 100755
--- a/git-post-review
+++ b/git-post-review
@@ -25,7 +25,7 @@ sed -e "s|^\(+++ \)\(.*\)|\1$BRANCH/\2 (working copy)|" \
> "$tempfile"
REPO_URL=`echo $svn_url | cut -d/ -f1-5`
-post-review --repository-url=$REPO_URL --diff-filename="$tempfile" "$@"
+post-review --branch="$BRANCH" --repository-url=$REPO_URL --diff-filename="$tempfile" "$@"
rm "$tempfile"