summaryrefslogtreecommitdiff
path: root/builtin-tar-tree.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-03-27 16:28:24 -0700
committerJunio C Hamano <gitster@pobox.com>2018-03-27 22:07:13 -0700
commit9748e39d0c17a79e67d2728199515cf40e2850dc (patch)
tree152bf2de769beb8ca66bcbd7af0e10819b2f7c86 /builtin-tar-tree.c
parent2e612731b55f1a83fb5b7f4ecb9391f0cba63cb2 (diff)
downloadgit-pc/submodule-helper.tar.gz
submodule deinit: handle non existing pathspecs gracefullypc/submodule-helper
This fixes a regression introduced in 2e612731b5 (submodule: port submodule subcommand 'deinit' from shell to C, 2018-01-15), when handling pathspecs that do not exist gracefully. This restores the historic behavior of reporting the pathspec as unknown and returning instead of reporting a bug. Reported-by: Peter Oberndorfer <kumbayo84@arcor.de> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-tar-tree.c')
0 files changed, 0 insertions, 0 deletions