Ignore deleted files in git hook

Added --diff-filter to ignore deleted files.