rename tracking and file-name swapping
From: Yuri D'Elia <hidden>
Date: 2016-06-15 22:47:24
From: Yuri D'Elia <hidden>
Date: 2016-06-15 22:47:24
Hi everyone. Does rename tracking recognize two file names being swapped? % ls -l total 24 -rw-rw-r-- 1 wavexx wavexx 5952 Sep 13 13:09 file1.txt -rw-rw-r-- 1 wavexx wavexx 3330 Sep 13 13:09 file2.txt % mv file1.txt file3.txt % mv file2.txt file1.txt % mv file3.txt file2.txt % git add file1.txt file2.txt % git diff -M --stat --cached file1.txt | 150 +++++++++++++++++++++++------------------------------------- file2.txt | 150 +++++++++++++++++++++++++++++++++++++----------------------- 2 files changed, 150 insertions(+), 150 deletions(-) I would expect at least to see file1.txt => file2.txt file2.txt => file1.txt if the contents are totally unchanged. Am I doing something wrong? Thanks