magit/magit — pull request #285 by JeffBellegarde (2011-11-03 18:13:04+00:00)
Title: Use set-upstream when pushing.

Add a customization variable for controlling --set-upstream
Only use --set-upstream if a ref-branch has not been set.

This is intended to address https://github.com/magit/magit/issues/243.