Re: [PATCH] reflog documentation: -n is an alias for --dry-run
- From
Jeff King <peff@peff.net>
- Date
- Sep 13, 2009, 13:26 UTC
- Message-ID
- <20090913132614.GA26275@coredump.intra.peff.net>
- In-Reply-To
- <20090913125313.GQ4275@mit.edu>
On Sun, Sep 13, 2009 at 08:53:13AM -0400, Nelson Elhage wrote:
> Patch withdrawn -- I'd send one documenting that -n works for delete > and expire, but it'd probably just complicate the documentation more > than clarify anything.
I think it would be fine to just split the (show|expire) line into two separate lines:
> > > -"git reflog (show|expire) [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>..."; > > > +"git reflog (show|expire) [--verbose] [-n | --dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...";
-Peff