diff between versions

Discussion in 'ISPConfig 3 Priority Support' started by atle, Mar 13, 2021.

  1. atle

    atle Member HowtoForge Supporter

    git is not something I master. Is there any git command(s) to get out diffs between versions of ispconfig?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. atle

    atle Member HowtoForge Supporter

    I would like to do the diff without downloading/clone the code. Like there is a ready diff file in the (remote) repository.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

     
  5. atle

    atle Member HowtoForge Supporter

  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  7. atle

    atle Member HowtoForge Supporter

    I ended up with a hack, nevertheless :p
    Code:
    diff -bur ./ispconfig /usr/local/ispconfig |
    grep diff |
    grep en_ | grep .lng |
    cut -d' ' -f3,4 |
    while read line
    do
            diff -c $line
    done
    The backup has been untarred in current dir.
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you have copied the files to your own workstation, Meld is nice graphical diff to show the diff clearly.
    https://meldmerge.org/ and available with apt install meld on Debian.
     
    atle and ahrasis like this.

Share This Page