Thread (15 messages) 15 messages, 6 authors, 2024-08-08

Re: Adding nested repository with slash adds files instead of gitlink

From: Duy Nguyen <hidden>
Date: 2018-06-20 14:57:55

On Wed, Jun 20, 2018 at 1:55 PM Rafael Ascensão [off-list ref] wrote:
On Wed, Jun 20, 2018 at 5:39 AM Kevin Daudt [off-list ref] wrote:
quoted
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.fsf@gitster.mtv.corp.google.com/
[3]:https://public-inbox.org/git/CAGZ79kZofg3jS+g0weTdco+PGo_p-_Hd-NScZ=q2UfB7tF2GPA@mail.gmail.com/
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help