Announcement

Collapse
No announcement yet.

How to define beyond compare 4 as external diff driver for git

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to define beyond compare 4 as external diff driver for git

    Hello,

    I want to use beyond compare 4 as external diff driver to compare binary files.
    For Example I want to use bc4 as diff command for zip files not as difftool.

    Thanks,,
    OR

  • #2
    Hello,

    Our directions for the difftool definition do apply to all files:
    http://www.scootersoftware.com/suppo...vcs#gitwindows

    I'm not familiar with how to define different extensions to apply to different git calls. I did find articles like this:
    https://medium.com/@mbrehin/git-adva...t-25afbf4f1105
    which detail how to convert from binary to text.
    and
    https://stackoverflow.com/questions/...n-in-git-exten
    which looks like if you use TortoiseGit you can define it per extension in their options dialog.
    Aaron P Scooter Software

    Comment


    • #3
      Thanks Aaron.
      Unfortunately that didn't help me.
      I need a script that compare two files and generate a text compare report file (patch file). I tried the following script that create an empty patch file , what am I doing wrong?:

      text-report layoutatch &
      optionsatch-unified &
      output-to:"D:\temp\bcTemp\report.patch"

      Thanks
      Orn

      Comment


      • #4
        The text-report command needs the names of the two input files.

        Code:
        text-report layout:patch options:patch-unified output-to:report.patch file1.txt file2.txt
        Chris K Scooter Software

        Comment

        Working...
        X