commit 042bae119286c470816a1b9fa35ff21531f9a4be
parent 8ef2a88cc8ce5efa037ca7389e103adba53e5ea6
Author: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Date: Fri, 17 Oct 2008 10:55:37 +0200
Sort the contents of labels.txt
This enable better behaviors when versioning this
kind of files.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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