Re: git log -- <old path> not working

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

 



Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> writes:

> $ git log -- drivers/acpi/configfs.c
> -> nothing
>
> $ git log --follow -- drivers/acpi/configfs.c
> $ git log --full-history -- drivers/acpi/configfs.c
> -> works
>
> First time I've seen this fail. Expected behaviour for
> some reason, or a bug?

Expected.  

In a history is branchy and mergy,

    ---O---o---o---o---o---M---x
        \                 /
         o---A---o---B---o

where A, B and possibly M made changes to PATH,

    $ git log X -- PATH

may show nothing if the PATH at O and M are identical.  This is
described in "History Simplification" section of "git log --help"




[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