add -i: move unquote_path() to Git.pm
commit1d542a5487f788874f18cca0d23b7b680fa04119
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Fri, 30 Jun 2017 09:49:09 +0000 (30 10:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jun 2017 15:02:20 +0000 (30 08:02 -0700)
treec8725abde6133c4d485971e5edb59a136baa46ed
parentfd99e2bda0ca6a361ef03c04d6d7fdc7a9c40b78
add -i: move unquote_path() to Git.pm

Move unquote_path() from git-add--interactive to Git.pm so it can be
used by other scripts. Note this is a straight copy, it does not
handle '\a'. That will be fixed in the next commit.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl
perl/Git.pm