Re: [PATCH 2/6] reflog: remove i18n legos in pruning message
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 31, 2012, 14:18 UTC
- Message-ID
- <CACsJy8AAnDDGSusfd2EaKW-sj=kM=xE5tET0RprEyszOBYOztg@mail.gmail.com>
- In-Reply-To
- <20120531141020.GD10523@burratino>
On Thu, May 31, 2012 at 9:10 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 13 quoted lines
> Nguyen Thai Ngoc Duy wrote: > >> Maybe adding >> --plumbing for scripts? > > That wouldn't take care of existing scripts, and new scripts should > use LC_ALL=C to defend themselves when they don't want to be impacted > by i18n. > > Do you have some other reason in mind that a script should choose to > pass --plumbing here? Is it an output format flag specific to 'git > reflog expire', in the spirit of status --porcelain, or a more generic > "I care about output stability" flag that spans multiple commands?
I was thinking (but without checking) that this is the only way a script can check for expired reflog entries. Maybe something more script friendly, like ref names only.
-- Duy