ymattw / ydiff

View colored, incremental diff in workspace or from stdin with side by side and auto pager support
Other
873 stars 62 forks source link

diff two arbitrary directories #64

Closed masaeedu closed 7 years ago

masaeedu commented 7 years ago

There doesn't seem to be any way to take two arbitrary (non-git) directories and do a side-by-side diff. Right now I'm working around this by initializing a git repo, deleting one directory, and copying the other where the first used to be, then using cdiff.

masaeedu commented 7 years ago

Whoops, didn't notice the diff -ur OldAgent/ NewAgent/ | cdiff -s. Guess this is a case of RTFM.