Re: [PATCH v3 1/5] pull: rename pull.rename to pull.mode
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 10, 2013, 21:34 UTC
- Message-ID
- <xmqqppsgwecf.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1378689796-19305-2-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 6 quoted lines
> Also 'branch.<name>.rebase' to 'branch.<name>.pullmode'. > > This way 'pull.mode' can be set to 'merge', and the default can be > something else. > > The old configurations still work, but get deprecated.
Sounds good, but we should still mention these old names in the documentation (and mark them as deprecated).
> +test "$mode" == 'rebase' && rebase="true"
POSIX test does not take "==" as string equality; it is a bash-ism.
test "$mode" = rebase