From 5158fc1fa1b766b29f576f9aaa9898e88fc55809 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 24 Sep 2010 22:00:13 +0200 Subject: [PATCH] allow empty commits --- git-branch-manager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-branch-manager b/git-branch-manager index e251f94..631e0dd 100755 --- a/git-branch-manager +++ b/git-branch-manager @@ -140,7 +140,7 @@ sub merge_commit($) or die "git-mergetool: $!"; if($do_commit) { - run 'git', 'commit', '-F', '.commitmsg' + run 'git', 'commit', '--allow-empty', '-F', '.commitmsg' or die "git-commit: $!"; } } @@ -187,7 +187,7 @@ sub unmerge_commit($) or die "git-mergetool: $!"; if($do_commit) { - run 'git', 'commit', '-F', '.commitmsg' + run 'git', 'commit', '--allow-empty', '-F', '.commitmsg' or die "git-commit: $!"; } } -- 2.39.2