detached-stash: simplify stash_apply
authorJon Seymour <jon.seymour@gmail.com>
Sat, 21 Aug 2010 04:08:58 +0000 (14:08 +1000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Aug 2010 06:51:21 +0000 (23:51 -0700)
commit064ed100b2b3530c4b8c4534aa663d2455b735da
treea71ca7c4787047ca80adad738cfdd671acd250aa
parentb0f0ecd97924ee775e7f3b29366133448f4f8e15
detached-stash: simplify stash_apply

The implementation of stash_apply() is simplified to take
advantage of the common parsing function parse_flags_and_rev().

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh