orgdiff icon indicating copy to clipboard operation
orgdiff copied to clipboard

Orgdiff does not work on windows (expects "sh" executable)

Open lucasgruss opened this issue 2 years ago • 0 comments

Hello again. My company-issued computer is unfortunately running Windows. In function orgdiff-extract-revisions, the function call-process is used to run the git archive command with sh.

Changing the call to : (shell-command (format "git archive --format=tar %s | tar -xf - -C %s" (car revisions) (shell-quote-argument orgdiff--rev1dir))) fixed it for me. What is your opinion on this ? I saw in the comments that you prefer to avoid in-emacs piping, may I ask why ?

Best regards.

lucasgruss avatar May 03 '24 10:05 lucasgruss