From: Jeff King Date: Fri, 29 May 2020 05:50:45 GMT Subject: Re: [BUG] New git unable to show this commit completely? Message-ID: <20200529055045.GA1294228@coredump.intra.peff.net> In-Reply-To: On Fri, May 29, 2020 at 05:43:29AM +0000, Dexuan Cui wrote: > However, in Ubuntu 20.04, the git doesn't show the deleted file > arch/x86/mach-generic/probe.c at all: It does; it's part of this rename: > arch/x86/{mach-generic/probe.c => kernel/probe_32.c} | 92 ++++++++++++++++++ Rename detection was turned on by default in Git v2.0. You can get the original output with: git show --stat --no-renames 7b38725318f4517af6168ccbff99060d67aba1c8 Or if you really don't like rename detection, you can disable it in the config, like: git config --global diff.renames false -Peff