Re: [PATCH v3 5/7] builtin/push: add option "--[no-]force-if-includes"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 16, 2020, 12:36 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2009161436120.56@tvgsbejvaqbjf.bet>
- In-Reply-To
- <20200913145413.18351-6-shrinidhi.kaushik@gmail.com>
Hi Srinidhi,
On Sun, 13 Sep 2020, Srinidhi Kaushik wrote:
Show 12 quoted lines
> diff --git a/builtin/push.c b/builtin/push.c
> index bc94078e72..d23b4678b4 100644
> --- a/builtin/push.c
> +++ b/builtin/push.c
> @@ -300,6 +300,12 @@ static const char message_advice_ref_needs_force[] =
> "or update a remote ref to make it point at a non-commit object,\n"
> "without using the '--force' option.\n");
>
> +static const char message_advice_ref_needs_update[] =
> + N_("Updates were rejected because the tip of the remote-tracking\n"
> + "branch has been updated since the last checkout. You may want\n"
> + "to integrate those changes locally (e.g., 'git rebase ...')\n"Shouldn't this talk about `git pull` instead of `git rebase`?
Ciao, Dscho