Re: [PATCH 1/6] reset: trivial refactoring

2013-08-30 Thread Junio C Hamano
Felipe Contreras writes: > 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. Makes sense. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to maj

[PATCH 1/6] reset: trivial refactoring

2013-08-30 Thread Felipe Contreras
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 --- builtin/reset.c | 9 +++-- 1 file changed, 3 insertio