From: William Trevor King Date: Wed, 26 Nov 2008 13:54:40 +0000 (-0500) Subject: Now diffs are for the transition ~/.file -> ./_file. X-Git-Tag: v0.3~104 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c8f42fd96027f09d4ea9bb14b156099abd603e3;p=dotfiles-framework.git Now diffs are for the transition ~/.file -> ./_file. --- diff --git a/diff.sh b/diff.sh index d10dd1d..411929e 100755 --- a/diff.sh +++ b/diff.sh @@ -3,7 +3,7 @@ # Print diffs for each _FILE / ~/.FILE pair -# Create the diff between a pair of files +# Show the changes we'd apply on installation # # handleFile( $file, $dotfile ) # @@ -12,7 +12,7 @@ # dotfile - The file it should be linked to in ~/, e.g. '.foo' function handleFile( ) { - diff -ru $1 $2 + diff -ru $2 $1 } # See if we can find any _files.