Limit the logging to exclude refs/notes and etc