Commits

Junio C Hamano  committed 0225de8 Merge

Merge branch 'jc/checkout'

* jc/checkout:
git-checkout: allow "checkout HEAD -- path"

  • Participants
  • Parent commits 3e04228, 2608003

Comments (0)

Files changed (1)

File git-checkout.sh

 			set x "$arg" "$@"
 			shift
 		fi
+		case "$1" in
+		--)
+			shift ;;
+		esac
 		break
 		;;
     esac