]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'sb/submodule-rm-absorb'
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2017 23:12:11 +0000 (15:12 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2017 23:12:11 +0000 (15:12 -0800)
commit3ccd681c2ab11522591be8a7a3eddb1a85a43ab0
treef876b1d4639222cdd7e8e2812807b093ba7b9538
parent55d128ae06b7b82f867961b677984620612a201c
parent55856a35b20dae2499d4e0b23551c7ba9a33baf2
Merge branch 'sb/submodule-rm-absorb'

"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