only check for uncommitted changes and ignore untracked files