Revision 9748e39d0c17a79e67d2728199515cf40e2850dc authored by Stefan Beller on 27 March 2018, 23:28:24 UTC, committed by Junio C Hamano on 28 March 2018, 05:07:13 UTC
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>
1 parent 2e61273
History
File Mode Size
files-backend.c -rw-r--r-- 84.4 KB
iterator.c -rw-r--r-- 10.5 KB
packed-backend.c -rw-r--r-- 43.8 KB
packed-backend.h -rw-r--r-- 1.2 KB
ref-cache.c -rw-r--r-- 14.1 KB
ref-cache.h -rw-r--r-- 8.8 KB
refs-internal.h -rw-r--r-- 23.7 KB

back to top