In fact, this patch is to complete the problem described in this issue: https://github.com/gitgitgadget/git/issues/636 I don't notice I should write it to commit message before ,My wrong ! Thank you for the patch, Junio. Your help is great for our novices. :-)