File: qgit_script.sh

package info (click to toggle)
camitk 4.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 343,588 kB
  • sloc: cpp: 78,476; xml: 1,210; sh: 723; ansic: 142; makefile: 101; perl: 84; sed: 20
file content (4 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download
1
2
3
4
#!/bin/sh
branchToCompare=$(kdialog --title "git compare between branches" --inputbox "The branch you want to compare with develop" "current branch")
fileToCompare=$(kdialog --title "git compare between branches" --inputbox "The file you want to compare with develop one" "the file")
git difftool $branchToCompare..develop -- $fileToCompare