fixed null-warnings (commit: 285f994)
fixed #795 do not report error when open the git change file (commit: bd2ad28)