Merge branch 'sb/submodule-rm-absorb' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:27:30 +0000 (15:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:27:30 +0000 (15:27 -0800)
commit1fc2000a92419bf9d9020df4ab154c5632c278bf
tree476cdab75ad6b9d62ce8e9aae879e86260b8f372
parented315a40c841738a737d22412ac07cc3cc8fddc0
parent55856a35b20dae2499d4e0b23551c7ba9a33baf2
Merge branch 'sb/submodule-rm-absorb' into next

"git rm" used to refuse to remove a submodule when it has its own
git repository embedded in its working tree.  It learned to move
the repository away to $GIT_DIR/modules/ of the superproject
instead, and allow the submodule to be deleted (as long as there
will be no loss of local modifications, that is).

* sb/submodule-rm-absorb:
  rm: absorb a submodules git dir before deletion
  submodule: rename and add flags to ok_to_remove_submodule
  submodule: modernize ok_to_remove_submodule to use argv_array
  submodule.h: add extern keyword to functions
builtin/rm.c
submodule.c
submodule.h
t/t3600-rm.sh