From: Nguyen Thai Ngoc Duy Date: Thu, 31 May 2012 14:18:20 GMT Subject: Re: [PATCH 2/6] reflog: remove i18n legos in pruning message Message-ID: In-Reply-To: <20120531141020.GD10523@burratino> On Thu, May 31, 2012 at 9:10 PM, Jonathan Nieder wrote: > 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