Thread (20 messages) 20 messages, 5 authors, 2022-03-07

Re: [PATCH v3 1/2] builtin/remote.c: parse options in 'rename'

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-03-05 14:30:21

On Thu, Mar 03 2022, Taylor Blau wrote:
The 'git remote rename' command doesn't currently take any command-line
arguments besides the existing and new name of a remote, and so has no
need to call parse_options().
I think nothing needs to change here in the body of the test, but just a
correction: We do in fact use parse_options() here in the pre-image. I.e.:

    git remote -h
    git remote rename -h

I.e. we'll detect "-h", emit the appropriate usage etc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help