isomorphic-git/isomorphic-git
Auf GitHub ansehencurrent behavior like `--allow-empty` by default
Open
#865 geöffnet am 16. Sept. 2019
breaking changebuggood first issue
Beschreibung
I'm using the Node version (the npm package via package.json )
I noted that it is possibile to create empty commits (commit with no one file modified)
It's tha same behaviour of the git commit --allow-empty command.
Is the allow-empty marked as the default for the commit somewhere in the code (I made a search but I was not able to find it)?
Is there a way to instruct the commit function to not use the allow-empty flag (an option or something like this)?