Re: doc bug: update-ref --create-reflog also works with --stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 21, 2019, 05:13 UTC
- Message-ID
- <xmqqlg04c54c.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAOTb1wc=qBmD4k4DH1bMckrYzc3ZzB=bBYDk7QUQWxKdtsXCHQ@mail.gmail.com>
Chris Jerdonek <chris.jerdonek@gmail.com> writes:
> The update-ref documentation says that --create-reflog can only be > passed when providing a new ref to create and doesn't say it can also > be used with --stdin:
True. It instead should say that it only makes sense when creating a new ref; it does not matter where the names of new refs come from.