Re: using git-diff as a diff replacement?
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 25, 2016, 02:38 UTC
- Message-ID
- <CACsJy8DTKOhOxdiQbRSddMSTMCQAFmZDdm6G1QeY6TpDf2HuKg@mail.gmail.com>
- In-Reply-To
- <CA+P7+xq7gobJbbRxm51APMQ8408jyvW64=1y3wo3jz3rjMsDqA@mail.gmail.com>
On Thu, Feb 25, 2016 at 5:21 AM, Jacob Keller <jacob.keller@gmail.com> wrote:
Show 6 quoted lines
> 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.
git diff --no-index <path> <path>
?
-- Duy