Aviv Eyal <avi...@gmail.com> writes:

> Using `git add -N` allows creating of empty commits:
> git init test && cd test
> echo text > file
> git add --intent-to-add file
> git commit -m 'Empty commit'
> echo $?                                    # prints 0
> ...
> I'd expect `git commit` to error out instead of producing an empty commit.
> I've seen this with git 2.8.1 and

I think I've seen this reported some time ago.


I do not offhand recall what happend to the topic after that.

Reply via email to