From: Timothy Rice Date: Wed, 06 Jun 2018 20:10:13 GMT Subject: Re: git rm bug Message-ID: <20180606201012.GA2454@sleipnir> In-Reply-To: <20180606200137.GJ3094@zaya.teonanacatl.net> > It does seem like something which could be noted in the git > rm docs. Perhaps you'd care to take a stab at a patch to > add a note to Documentation/git-rm.txt Thomas? Maybe a note > at the end of the DISCUSSION section? That same documentation could mention a common workaround for when someone does really want to keep the empty directories: $ touch ./path/to/empty/dir/.keep $ git add ./path/to/empty/dir/.keep $ git commit -m "Keep that empty directory because it is needed for " This would obviate the need for a new flag to switch behaviours. ~ Tim