Re: [PATCH 5/8] reflog: rearrange the manpage
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Feb 12, 2015, 15:17 UTC
- Message-ID
- <54DCC40E.4040506@alum.mit.edu>
- In-Reply-To
- <CAGZ79kY+AN6fmbBfCBdkUXiBSgJusFa7Jv2OS=n=EPXBpzp8EQ@mail.gmail.com>
On 02/11/2015 12:42 AM, Stefan Beller wrote:
Show 17 quoted lines
> On Mon, Feb 9, 2015 at 1:12 AM, Michael Haggerty <mhagger@alum.mit.edu> wrote: >> ---all:: >> - Instead of listing <refs> explicitly, prune all refs. >> +--stale-fix:: >> + This revamps the logic -- the definition of "broken commit" >> + becomes: a commit that is not reachable from any of the refs and >> + there is a missing object among the commit, tree, or blob >> + objects reachable from it that is not reachable from any of the >> + refs. > > --stale-fix becomes more and more irrelevant over time, > so why not put in at the very end even after --all ? > > Thinking out loud: > (--expire=,--expire-unreachable= and --stale-fix) look like a group > and (--updateref --rewrite --verbose and --all) also feel like a group, > so you wanted to keep --stale-fix after --expire-unreachable= ?
Yes, that's what I was thinking.
But you are right that the docs could be improved even more, so in the re-roll I will make some further changes.
> While talking about this man page, we should also add --dry-run?
Good point. I'll fix that, too.
Michael
-- Michael Haggerty mhagger@alum.mit.edu