D-Programming-Language/deimos — comment on commit 65acb7bc0ad63649485b207ede9a59f6fcc95b61
File:  line 0
By schveiguy:

I agree with jancio and jmdavis here. I do not want to download a different *version* of the same repository for each library I want to use, and I don't want to accidentally use whatever version of library X happened to be tagged with my desired version of library Y.

Use directories to separate versions, or separate the libraries into individual repositories (using branches to separate version numbers). I think those are the only sane options.

As for the question about diffs, if you really want to compare two directories, diff still works...

Plus, I think git is pretty smart at seeing where files are copied from. Even if it's not, what you could do is:

1. Copy the current version into a new directory. Commit
2. Update the copy. Commit.

Now you can see the diff between two commits (you could even tag these in certain ways to make the comparison easier to type).