Fixed some '&optional arg' bugs and git-dir text-property added to log-buffer