Re: [RFC PATCH] Re: Empty directories...
From: Geoff Russell <hidden>
Date: 2016-06-15 22:43:22
Dear gits,
When I first started using git, I naively did
$ mkdir NEWDIR && chmod BLAH NEWDIR
$ git add NEWDIR
I just expected that this was content in the current directory that I
wanted tracked
together with the permissions.
It wasn't ... I spent a day or 2 thinking I was stupid, my version of git was
corrupt, my machine was busted, .... etc. Eventually of course, I read the
documentation (when all else fails) and realised that this perfectly obvious
behaviour was not supported. The behaviour was obviously so obvious
that eventually
an error message was added telling all the people who hadn't
read the documentation that trying to add a directory was 'fatal'.
I put up with and work around this behaviour because git is so bloody
brilliant at everything else. But it would be nice if it worked.
Cheers,
Geoff Russell