]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/checkout.c
convert run_add_interactive to use struct pathspec
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:50 +0000 (15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:08 +0000 (10:56 -0700)
commit480ca6449ed0981311b8aef2fbaa89d024b881ee
treed9741f5300117f5c66b9b591f2bd44e4a08617c8
parent5ab2a2dabd6e13cd6830ff4f12f232dc79278e29
convert run_add_interactive to use struct pathspec

This passes the pathspec, more or less unmodified, to
git-add--interactive. The command itself does not process pathspec. It
simply passes the pathspec to other builtin commands. So if all those
commands support pathspec, we're good.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/checkout.c
builtin/reset.c
commit.h