Subject: [sup-talk] [PATCH] Sort the contents of labels.txt

From: [email-masked] (Nicolas Pouillard)
Date: Fri, 17 Oct 2008 10:55:37 +0200

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

---

From: [email-masked] (William Morgan)
Date: Sun, 19 Oct 2008 19:39:36 -0700

> This enable better behaviors when versioning this

Applied to master. Thanks!
-- 
William <wmorgan-sup at masanjin.net>