Re:Is Git Irreplaceable? (2019)
by debaserab2 on Tuesday January 07, 2020 @10:22AM
(#21980717)
According to this[1], which I think might be an official FAQ:
> Currently the design of the Git index (staging area) only permits files to be listed, and nobody competent enough to make the change to allow empty directories has cared enough about this situation to remedy it.
Re:Is Git Irreplaceable? (2019)
by ori_b on Tuesday January 07, 2020 @03:27PM
(#21984424)
Hm. I should see how git behaves when it gets a repository with empty directories. If it doesn't blow up, I may just add support -- it'd be useful for me.
> Currently the design of the Git index (staging area) only permits files to be listed, and nobody competent enough to make the change to allow empty directories has cared enough about this situation to remedy it.
[1] https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty...