What should a user expect from git log -M -- file
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 26, 2009, 16:36 UTC
- Message-ID
- <20091126163654.GA14509@glandium.org>
Hi,
I recently reorganized a project of mine, and the result is that a lot of files moved from the top directory to a sub directory.
Now, I innocently tried to 'git log -M' some of these files in the subdirectories, and well, the history just stops when the file was created. Obviously, if I put both the old and the new location it works, but shouldn't users expect 'git log -M -- file' to try to find the previous path and continue from there ?
Mike