why make a bash function, when git has it's own alias feature?
Also, you're only accepting one argument, where there could be many depending on your refspec and path.
Also, you're only accepting one argument, where there could be many depending on your refspec and path.
[alias]
df = diff --patience --ignore-space-at-eol -b -w --ignore-blank-lines