Re: Creating empty commits with --intent-to-add
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 5, 2016, 03:15 UTC
- Message-ID
- <CACsJy8A8-RgpYxYsJBaLrMia7D3DfQPr4cxASNsaLyCnmgm3ZQ@mail.gmail.com>
- In-Reply-To
- <fdf86f73-0885-7191-2932-f10feba0bdfc@virtuell-zuhause.de>
On Sun, Jun 5, 2016 at 12:54 AM, Thomas Braun <thomas.braun@virtuell-zuhause.de> wrote:
Show 15 quoted lines
> Hi, > > the following procedure > > mkdir test > cd test > git init > echo 1 >file > git add --intent-to-add file > git commit -m "blurb" > > results in a commit. I would have expected that git commit complains, > as I have not pased the --allow-empty option. > > Is that intended behaviour?
It's a bug. I'll get to it very soon.
-- Duy