reset.c: extract function for parsing arguments
commit39ea722d829ddc5bb253fbe12333d768965f4fe7
authorMartin von Zweigbergk <martinvonz@gmail.com>
Tue, 15 Jan 2013 05:47:37 +0000 (14 21:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 17:38:07 +0000 (15 09:38 -0800)
treedbe591fcfb9902f9ebcc50dcaa85d53c08dbf352
parent4f4ad3d938beafd785c319664348268bbef11a00
reset.c: extract function for parsing arguments

Declutter cmd_reset() a bit by moving out the argument parsing to its
own function.

Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reset.c