From: Junio C Hamano Date: Wed, 11 Jan 2012 08:08:24 GMT Subject: Re: [PATCH RFC] commit: allow to commit even if there are intent-to-add entries Message-ID: <7vr4z67jbb.fsf@alter.siamese.dyndns.org> In-Reply-To: <1326261707-11484-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > This patch replaces the approach in 331fcb5 (git add --intent-to-add: > do not let an empty blob be committed by accident) regarding i-t-a > entries: instead of forbidding i-t-a entries at commit time, we can > simply ignore them. I have a mild suspicion that in earlier incarnation of the patch we used to let empty blobs committed, and then we used to instead not commit anything at all for such a path, and the real users were bitten by either of these approaches, forgetting to add the contents to the final commit. So I am not sure if this is such a good idea.