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