Re: [PATCH v2] Add push --set-upstream
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 16, 2010, 04:18 UTC
- Message-ID
- <7vljfyiswv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7vhbqmn9c4.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Tay Ray Chuan <rctay89@gmail.com> writes: > >> After all, there's already the config called branch.autosetupmerge and >> branch.autosetuprebase. > > Do you mean Ilari's patch already sets up branch.name.rebase for people > with branch.autosetuprebase true?
I checked; the patch uses install_branch_config() so it should get this right automatically.
I'll queue the v2 patch on 'pu'; we might want an update to move the code inside "unless --dry-run" condition, but other than that I think what we reviewed in this thread was pretty good.