acme-misc/git/Gdif

6 lines
72 B
Bash
Executable File

#!/usr/bin/env rc
if(~ $#samfile 0)
git diff
if not
git diff $samfile