Commit e7e0682c authored by Brad King's avatar Brad King

git-gerrit-push: Append topic to refspecs instead of overwriting

Other logic may later be added to add more refspecs.
parent cd49e598
......@@ -50,7 +50,8 @@ if test -z "$no_topic"; then
die 'Please name your topic:
git checkout -b descriptive-name'
# The topic branch will be pushed by name.
refspecs="HEAD:refs/for/master/$topic $refspecs"
# Exit early if we have nothing to push.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment