restore commit info to VERSION (and also fix #2912)