This enable better behaviors when versioning this
kind of files.
---
 lib/sup/label.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/label.rb b/lib/sup/label.rb
index 716ef98..da14df6 100644
--- a/lib/sup/label.rb
+++ b/lib/sup/label.rb
@@ -78,7 +78,7 @@ class LabelManager
 
   def save
     return unless @modified
-    File.open(@fn, "w") { |f| f.puts @labels.keys }
+    File.open(@fn, "w") { |f| f.puts @labels.keys.sort }
   end
 end
 
-- 
1.5.5.rc3

_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to