On Wed, Jun 20, 2018 at 1:55 PM Rafael Ascensão <rafa.al...@gmail.com> wrote: > > On Wed, Jun 20, 2018 at 5:39 AM Kevin Daudt <m...@ikke.info> wrote: > > > > What this is about that when doing `git add path/` (with trailing /), > > > > This is what I was referring to. If you search for 'Fake Submodules', > you'll see that some people were/are intentionally using this instead of > subtrees or submodules. Unfortunately the original article [1] seems to > be dead, but searching url in the mailing list archives leads to some > additional discussion on the subject [2,3].
Abusing a long standing bug does not make it a feature. I'm not opposed to having a new option to keep that behavior, but it should not be the default. If you use it that way, you're on your own. > [1]:http://debuggable.com/posts/git-fake-submodules:4b563ee4-f3cc-4061-967e-0e48cbdd56cb > [2]:https://public-inbox.org/git/xmqqy47o6q71....@gitster.mtv.corp.google.com/ > [3]:https://public-inbox.org/git/CAGZ79kZofg3jS+g0weTdco+PGo_p-_Hd-NScZ=q2ufb7tf2...@mail.gmail.com/ -- Duy