use gitdll gethash and clean up some warning