Code

Refactor patch_update_cmd
authorWincent Colaiuta <win@wincent.com>
Wed, 21 Nov 2007 12:36:38 +0000 (13:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Nov 2007 08:51:56 +0000 (00:51 -0800)
commita7d9da6c972cb7bc79ef47ad7199dfb2a8dcf67f
tree80a41b3b6640deb21e1e218702d00ae9ff19c399
parent5f5b611805ed60a303ccbc07ebd9a5bac2dabb92
Refactor patch_update_cmd

Split patch_update_cmd into two functions, one to prompt the user for
a path to patch and another to do the actual work given that file path.
This lays the groundwork for a future commit which will teach
git-add--interactive to accept a path parameter and jump directly to
the patch subcommand for that path, bypassing the interactive prompt.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl