builtin-add: refactor the meat of interactive_add()
commit46b5139cae7306194a39fdaf5c6abc12ab531c84
authorThomas Rast <trast@student.ethz.ch>
Thu, 13 Aug 2009 12:29:41 +0000 (13 14:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Aug 2009 19:40:09 +0000 (14 12:40 -0700)
treef313f08b787c92002fad44d10ca8a8d6f7b55bf8
parentb319ef70a94731a5c6f18d07a49d5dda3f06f5d3
builtin-add: refactor the meat of interactive_add()

This moves the call setup for 'git add--interactive' to a separate
function, as other users will call it without running
validate_pathspec() first.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c
commit.h