isomorphic-git/isomorphic-git

current behavior like `--allow-empty` by default

Open

#865 geöffnet am 16. Sept. 2019

Auf GitHub ansehen
 (3 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)JavaScript (351 Forks)batch import
breaking changebuggood first issue

Repository-Metriken

Stars
 (7.054 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 13T 13h) (7 gemergte PRs in 30 T)

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)?

Contributor Guide