[PATCH] fix and testcase for git-commit-tree option