For people who run intermediate versions of git, it is useful to know exactly which post-release version you've installed. This adds the commit-id to the version info, so you can tell exactly, provided you make sure to commit before installing.
Signed-Off-By: Daniel Barkalow <[EMAIL PROTECTED]> Index: Makefile =================================================================== --- 08f7700831e056ad710af69f91e3a8a705b6b2b1/Makefile (mode:100644 sha1:a60fa46404c0487158d232bd021e4798bc8df8de) +++ 6467ed39f19b48563ff25782ebe2c6f951b0af3c/Makefile (mode:100644 sha1:0e84e3cd12f836602b420c197e08fabefe975493) @@ -50,7 +50,7 @@ @echo Generating gitversion.sh... @rm -f $@ @echo "#!/bin/sh" > $@ - @echo "echo \"$(shell cat $(VERSION))\"" >> $@ + @echo "echo \"$(shell cat $(VERSION)) $(shell commit-id)\"" >> $@ @chmod +x $@ clean: - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html