summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-08-01 18:52:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-01 18:52:40 (GMT)
commit400bf4c46b2bf01cca2658c7d7b4774d7a711486 (patch)
tree748c363a9b94d0da519ddc3bae381b102ba32c6e
parentc2980866b75229c1361b1f7a2f04c9ed197588e5 (diff)
parent1611eed6e5071acd24b97933ac0d845db87ec7df (diff)
downloadgit-400bf4c46b2bf01cca2658c7d7b4774d7a711486.zip
git-400bf4c46b2bf01cca2658c7d7b4774d7a711486.tar.gz
git-400bf4c46b2bf01cca2658c7d7b4774d7a711486.tar.bz2
Merge branch 'ma/hg-to-git'
* ma/hg-to-git: hg-to-git: --allow-empty-message in git commit
-rwxr-xr-xcontrib/hg-to-git/hg-to-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py
index 232625a..60dec86 100755
--- a/contrib/hg-to-git/hg-to-git.py
+++ b/contrib/hg-to-git/hg-to-git.py
@@ -225,7 +225,7 @@ for cset in range(int(tip) + 1):
os.system('git ls-files -x .hg --deleted | git update-index --remove --stdin')
# commit
- os.system(getgitenv(user, date) + 'git commit --allow-empty -a -F %s' % filecomment)
+ os.system(getgitenv(user, date) + 'git commit --allow-empty --allow-empty-message -a -F %s' % filecomment)
os.unlink(filecomment)
# tag