jeffkaufman/icdiff

Constantly asking "Launch 'icdiff' [Y/n]"

gerroon opened this issue · 4 comments

Hi

I am using this line " git difftool --extcmd=icdiff dca3d3ef0ef 3f59bdc1bd0" and it works but it shows a page then asks me " "Launch 'icdiff' [Y/n]"" I press Y then shows me the next page and so on. It cant go up the page only shows the the upcoming page. I am not sure if this is how it is supposed to work

Debian Buster Git 2.19

thanks

That's git's default behavior with an external diff command. You can turn it off with:

git config --global difftool.prompt false

See https://stackoverflow.com/questions/7897517/why-does-git-difftool-not-open-the-tool-directly

Thanks but that just made it worse. It loads the diffs page after page automatically,without stopping and I do not get to see the diffs :)

Does git difftool --extcmd=icdiff | less -R do what you want?

(It's not clear to me what behavior you want)

I am just trying to make it work like git diff|ydiff -s

Piping to Less works. I assumed your tool already was a pager.

thanks