[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diff display



On 09/10/08 16:03, Kamaraju S Kusumanchi wrote:
James A. Donald wrote:

Can I get file changes recorded in git to display the
way they do in windows?

I am surprised that no one has told this till now.

The main purpose of diff is to generate a patch which can then be used to
apply/revert changes across two versions of a file.

That would sanely be called "patch", not "diff".

                                                    The output produced by
diff can do that very efficiently. It is very compact and elegant format of
showing differences between two files (although it requires a trained eye).
If you want to get acquainted with diff output, read its documentation by
doing 'info diff'.

As for your problem, try vimdiff or gvimdiff (graphical version of vimdiff).
These two programs do what you want.

--
Ron Johnson, Jr.
Jefferson LA  USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it."  -- Thomas Jefferson


Reply to: