Re: [PATCH 1/1] [Outreachy] merge-ours: include parse-options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 30, 2019, 02:05 UTC
- Message-ID
- <xmqqk18n3s3i.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <8c088194f604eac3a6b00c48a7fddfdf807571fc.1572306149.git.gitgitgadget@gmail.com>
"george espinoza via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: george espinoza <gespinoz2019@gmail.com> > > Teach this command which currently handles its own argv to use > parse-options instead because parse-options helps make sure we handle > user input like -h in a standardized way across the project.
Sorry, but why do we even want to do this? merge-ours is an implementation detail of "git merge" and is never run directly by end-users.
I am not sure why it even needs "-h" in the first place, but that is already there, so letting sleeping dog lie would be what I would prefer.
Is there a plan to add some -Xmerge-backend-option to this program, and would use of parse-options API make it easier? That would be a good reason to start using it in this program, but otherwise...