summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-08-01 11:52:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-01 11:52:40 -0700
commit400bf4c46b2bf01cca2658c7d7b4774d7a711486 (patch)
tree748c363a9b94d0da519ddc3bae381b102ba32c6e
parentMerge branch 'jx/clean-interactive' (diff)
parenthg-to-git: --allow-empty-message in git commit (diff)
downloadtgif-400bf4c46b2bf01cca2658c7d7b4774d7a711486.tar.xz
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 232625a7b7..60dec86d37 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