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

[OT?] Moving files with git, without losing history.



Dear Mentors,

Although it is not really a Debian question, it is for a package that I try to
convert to git…

Despite it is written everywhere that Git automagically understands renames, if
I move a file and do ‘git log’ on it, I do not see its history anymore. In
contrary to what is documented on the interweb, adding --follow or setting
diff.renames to true never worked in my hands.

Any suggestion ?

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


Reply to: