From: Derek Moore Date: Thu, 09 Oct 2014 17:42:39 GMT Subject: Re: Some PRETTY FORMATS format: options don't work with git-archive export-subst $Format:$ Message-ID: In-Reply-To: On Thu, Oct 9, 2014 at 10:56 AM, Derek Moore 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: 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.