Re: [PATCH/WIP 0/9] for-each-ref format improvements
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 19, 2013, 11:36 UTC
- Message-ID
- <CAMP44s1w29evK29HvsbQv5OXhaQK7_yLWh_wq8toVMKagwb94w@mail.gmail.com>
- In-Reply-To
- <CALkWK0=7z91A54jSzc2yZU3g50u8H_f8su1Y+i=D+KxYtqor5g@mail.gmail.com>
On Sun, May 19, 2013 at 6:11 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> Yes, I think this is the direction we should be taking. Poorly > thought-out stuff like -v and -vv should be deprecated.
Of course not. They are useful and user-friendly.
The only question is what should be the format by default.
> Also, I think it'll help to have a --pretty="format:<string>" > equivalent to --format="<string>" so that we can introduce pretty > names like oneline, short, medium, full. We can eventually deprecate > --format for consistency.
I don't see the point of --pretty. I think there should be shortcuts, something like --hash for the SHA1s only, and --names for the refs only, or something like that.
-- Felipe Contreras