summaryrefslogblamecommitdiff
path: root/bin/git_diff
blob: a35fc68fb333c4c659333e9016f1d6d72174b53e (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                          
                                  
                                        
                          



                        
                           
#!/bin/bash
# un-comment one diff tool you'd like to use
#
# From https://stackoverflow.com/a/7669988/3805440, thanks

# side-by-side diff with custom options:
/usr/bin/sdiff -w200 -l "$2" "$5" 

# using kdiff3 as the side-by-side diff:
#/usr/bin/kdiff3 "$2" "$5"

# using Meld 
#/usr/bin/meld "$2" "$5"

# using VIM
#/usr/bin/nvim -d "$2" "$5"

Contact - Imprint