Re: Some PRETTY FORMATS format:<string> options don't work with git-archive export-subst $Format:$
- From
Derek Moore <derek.p.moore@gmail.com>
- Date
- Oct 9, 2014, 17:42 UTC
- Message-ID
- <CAMsgyKYKAUXamcGOtUi3Bq-u4B9JaG2sk-Gttf+A1U2mwhghrw@mail.gmail.com>
- In-Reply-To
- <CAMsgyKb_-Xm0DH1-xVZa0XHs59nZsOxGwwLWKx-YiTmsJtrFHQ@mail.gmail.com>
On Thu, Oct 9, 2014 at 10:56 AM, Derek Moore <derek.p.moore@gmail.com> wrote:
> I first noticed this using the system git provided in Fedora 21, so I > cloned the official git repo, built from source, and it would appear > there are even more options that don't work with export-subst in the > latest code.
I'm a dumb ass. After installing my newly compiled git to /usr/local, I neglected to spawn a new shell so the new binary could get picked up by my $PATH. Despite /usr/local/bin preceding /usr/bin, /usr/bin/git was cached by my shell, and 'which git' was lying to me, therefore my testing of new format:<string> options was invalid.
I must retract the statement "and it would appear there are even more options that don't work with export-subst in the latest code."
As far as I've tested it would seem only %N doesn't resolve inside of $Format:$, until I maybe do unit tests for this to identify any others.