From: Jon Seymour Date: Mon, 27 Sep 2010 15:32:45 +0000 (+1000) Subject: stash: simplify parsing fixes X-Git-Tag: v1.7.3.2~37 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2bea593bf0f1159e93dbca1008a18dea4c262e58?ds=inline;hp=2bea593bf0f1159e93dbca1008a18dea4c262e58 stash: simplify parsing fixes This patch simplifies Brian's fix for the recent regression by: * eliminating the extra loop * eliminating use of git rev-parse for parsing flags * making use of the for opt idiom for the retained loop * eliminating the redundant -- case The patch has been tested with the tests in current maint. Signed-off-by: Jon Seymour Signed-off-by: Junio C Hamano ---