Skip to content
Snippets Groups Projects
Commit 2081fa73 authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'pc/submodule-helper'

Hotfix.

* pc/submodule-helper:
  submodule deinit: handle non existing pathspecs gracefully
parents 87cc76fa 9748e39d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1042,7 +1042,7 @@ static int module_deinit(int argc, const char **argv, const char *prefix)
die(_("Use '--all' if you really want to deinitialize all submodules"));
 
if (module_list_compute(argc, argv, prefix, &pathspec, &list) < 0)
BUG("module_list_compute should not choke on empty pathspec");
return 1;
 
info.prefix = prefix;
if (quiet)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment