On 3 Nov 2012, at 11:59, Matthew Newton <mcn4@leicester.ac.uk> wrote:
On Sat, Nov 03, 2012 at 12:12:30PM +0100, Alan DeKok wrote:
Arran Cudbard-Bell wrote:
In other news, ident has been enabled in the main repo, so all the little $Id$ tags that were left over from CVS will now be expanded on checkout to contain the latest commit hash for the file.
Hmm... I'm a little more unsure about that.
What would be more useful is if a git-built FR could display the latest commit hash in the "-v" version information? Then I'd stand a chance of working out exactly *what* I compiled when it breaks :-)
Added that one in about a week ago (2d7d05), works for radmin, radclient and radiusd. The other utilities don't have -v arguments. There's also an easter egg in radiusd, where if you do -xv it'll print out the features available.
git {blame,log,show} make the $Id$ source code strings pretty irrelevant in general I would have thought, apart from the above.
Until the files are taken out of version control for whatever reason. I agree not overly immediately useful, but i'm sure it'll come in handy for someone, somewhere at some point. -Arran