Skip to content

Commit 400bf4c

Browse files
committed
Merge branch 'ma/hg-to-git'
* ma/hg-to-git: hg-to-git: --allow-empty-message in git commit
2 parents c298086 + 1611eed commit 400bf4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/hg-to-git/hg-to-git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def getgitenv(user, date):
225225
os.system('git ls-files -x .hg --deleted | git update-index --remove --stdin')
226226

227227
# commit
228-
os.system(getgitenv(user, date) + 'git commit --allow-empty -a -F %s' % filecomment)
228+
os.system(getgitenv(user, date) + 'git commit --allow-empty --allow-empty-message -a -F %s' % filecomment)
229229
os.unlink(filecomment)
230230

231231
# tag

0 commit comments

Comments
 (0)