Thread (18 messages) flat view 18 messages, 4 authors, 2016-06-15

Re: [PATCH] Documentation/git-remote.txt: remove description for useless -n option

From: Olivier Marin <hidden>
Date: 2016-06-15 22:44:42

Possibly related (same subject, not in this thread)

Junio C Hamano a écrit :
quoted
From: Olivier Marin <redacted>

This option comes from the original git-remote.perl script and is not
used nor needed in the current builtin.
Is this something we would want to document as a new feature, or just a
regression that makes the existing feature unusable when disconnected from
the network that needs to be fixed in the code?
OK, I restored the original behaviour for "git remote show", patch will follow.

But for "git remote prune" I don't no what to do. The perl script behaviour was
to delete all refs for the remote when called with -n. It seems really dangerous
to me, especially if I have no connection to restore them. The current builtin
doesn't honor the flag and with my patch it just does nothing.

So, do you prefere that I remove the documentation for git remote prune -n or
restore the old behaviour that was probably never used (but maybe I'm wrong)?

Olivier.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help