'git log' doesn't keep log of un-removed and then renamed directory

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

 



In the FreeBSD ports tree I restored the previously removed directory math/dynare:

1. git checkout 3fb72e318f7be~1 -- math/dynare

2. git mv math/dynare science/dynare

3. rm -rf science/dynare && cp -r science/dynare.new science/dynare

4. git add science/dynare

5. git commit science/dynare


After this 'git log science/dynare' only shows my last commit, and not the previous history of 'math/dynare' that existed before its removal.


The above sequence of commands should have kept and migrated the history of math/dynare to science/dynare, but it didn't.


The corresponding subversion command sequence keeps history.


Yuri





[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