Re: [BUG] New git unable to show this commit completely?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux