Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2018
    Posts
    3

    Default 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. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    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

  3. #3
    Join Date
    Jun 2018
    Posts
    3

    Default

    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

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,684

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •