using git-diff as a diff replacement?
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Feb 24, 2016, 22:21 UTC
- Message-ID
- <CA+P7+xq7gobJbbRxm51APMQ8408jyvW64=1y3wo3jz3rjMsDqA@mail.gmail.com>
Hey,
I know that running "git diff <path> <path>" when outside a git project will result in a normal diff being run. I happen to prefer the diff algorithm and diff output of "git diff" but there does not seem to be a way to have this behavior from within a git tree.
Is there a way to pass an option to git-diff which will result in strict file comparison?
Thanks, Jake