Now diffs are for the transition ~/.file -> ./_file.
authorWilliam Trevor King <wking@einstein.physics.drexel.edu>
Wed, 26 Nov 2008 13:54:40 +0000 (08:54 -0500)
committerWilliam Trevor King <wking@einstein.physics.drexel.edu>
Wed, 26 Nov 2008 13:54:40 +0000 (08:54 -0500)
diff.sh

diff --git a/diff.sh b/diff.sh
index d10dd1d6f405fa7212384ed6ceb95a2e7d361771..411929e14264280b5277467fe89f5b7eba8942e2 100755 (executable)
--- 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.