You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kirhgoff, sorry it confused you. Cdiff reads the output from git diff one.txt two.txt, so you get the error from git because two.txt is not version controlled. It's by design, not a bug. You may use diff -u one.txt two.txt | cdiff to meet your needs in this case.
I suggest you put something like that to the help output as it is not clear that the only valid usage is git one. Anyway thanks for a great tool, I am using it every day!
I want to try cdiff just to compare two files in the folder. I type something like cdiff one.txt two.txt, and I get:
→ cdiff one.txt two.txt
fatal: two.txt: no such path in the working tree.
Use 'git -- ...' to specify paths that do not exist locally.
Yes, and I call cdiff in the folder which is git repository, and files are not added to repo.
The text was updated successfully, but these errors were encountered: