Merge branch 'jk/reset-p-current-head-fix'
commit1feb458fb956cc8991267b00f33b91766dfadaad
authorJunio C Hamano <gitster@pobox.com>
Fri, 1 Nov 2013 14:38:49 +0000 (1 07:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Nov 2013 14:38:49 +0000 (1 07:38 -0700)
tree7447c3c6b26275919de285a1ee9ce44d14dbf85f
parent60e779adaa5f037307c762c8c353e68815d1c018
parentb3e9ce13320f62e07fcb88a5cdf3c0462c195e95
Merge branch 'jk/reset-p-current-head-fix'

"git reset -p HEAD" has codepath to special case it from resetting
to contents of other commits, but recent change broke it.

* jk/reset-p-current-head-fix:
  reset: pass real rev name to add--interactive
  add-interactive: handle unborn branch in patch mode