Can see log for a renamed file
- From
- Eugen Konkov <kes-kes@yandex.ru>
- Date
- Apr 5, 2023, 23:16 UTC
- Message-ID
- <909508822.20230405191602@yandex.ru>
Hello, folks.
``` git log 9ce3e165f284d55503eff9b627ef3723854c53bb^ -- lib/Invoice/Schema/Result/Company.pm fatal: ambiguous argument 'lib/Invoice/Schema/Result/Company.pm': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' ```
But if I checkout to the commit before renaming then this command works:
git log 9ce3e165f284d55503eff9b627ef3723854c53bb^ -- lib/Invoice/Schema/Result/Company.pm
I beleive it would be much handy if git checks the file after analizing of the commit 9ce3e165f284d55503eff9b627ef3723854c53bb^
Thanks
-- Best regards, Eugen Konkov