From: Junio C Hamano Date: Sun, 13 Sep 2009 05:18:12 GMT Subject: Re: [PATCH] git-push: Accept -n as a synonym for --dry-run. Message-ID: <7vhbv72zjf.fsf@alter.siamese.dyndns.org> In-Reply-To: <20090913034031.GO4275@mit.edu> Nelson Elhage writes: >> commit, push (as you identified), reflog, and send-email have --dry-run >> but -n is not a synonym for it. Some of them even use -n as a shorthand >> for a more often used option than --dry-run. > > Can you point to an example of a git command supporting --dry-run, and > using -n for something else? Doesn't commit -n stand for no-verify? I think that is how it is documented. > In fact, reflog already supports '-n' to mean dry-run, Huh? "git reflog -n 4" is for show-four-entries-from-the-top.