summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ac981dd)
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
# ---- Do a git push
if $pushing; then
# ---- Do a git push
if $pushing; then
- # xxx when user can specify upstream_tag, must cope with spaces
- git push "$remote" "${push_branch[@]}" $upstream_tag "$debian_tag"
+ if [ "x$upstream_tag" = "x" ]; then
+ git push "$remote" "${push_branch[@]}" "$debian_tag"
+ else
+ git push "$remote" "${push_branch[@]}" "$debian_tag" "$upstream_tag"
+ fi