Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] git-push: Accept -n as a synonym for --dry-run.

From: Nelson Elhage <hidden>
Date: 2016-06-15 22:47:24

On Sat, Sep 12, 2009 at 11:40:31PM -0400, Nelson Elhage wrote:
On Sat, Sep 12, 2009 at 07:44:29PM -0700, Junio C Hamano wrote:
Can you point to an example of a git command supporting --dry-run, and
using -n for something else? I personally would find that confusing,
since -n is a common alias for dry-run both inside and outside of git
(c.f. make, rsync, libtool). I guess patch(1) has that property, but
none of your examples from git use -n to mean something else.
Oops, I missed 'commit' in your list, which I see (as of recently) has
that property. In that case, though, --dry-run was added after an
established -n option had been there for a long time; I think my
general argument still stands for commands where that is not the case.

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