reset: trivial refactoring
commitf38798f48dc8ed53fe001cc5a0d422f5c56b9d81
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 30 Aug 2013 21:56:45 +0000 (30 16:56 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Aug 2013 03:58:43 +0000 (30 20:58 -0700)
tree4933aab3bcc1b75d18a71f9451412af034116ab5
parent992c38644a4b001bdc89b5b5008fc5f6674ed5b7
reset: trivial refactoring

After commit 3fde386 (reset [--mixed]: use diff-based reset whether or
not pathspec was given), some code can be moved to the 'reset_type ==
MIXED' check.

Let's move the code that is specific to MIXED.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reset.c