show short hash if not on branch