Re: doc bug: update-ref --create-reflog also works with --stdin

2019-04-20 Thread Junio C Hamano
Chris Jerdonek 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

doc bug: update-ref --create-reflog also works with --stdin

2019-04-19 Thread Chris Jerdonek
This is to report a bug in the docs, or at least suggest an improvement. 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: 'git update-ref' [-m ] [--no-deref] (-d [] | [--create-reflog]