* [sup-talk] [PATCH] Sort the contents of labels.txt
@ 2008-10-17 8:55 Nicolas Pouillard
2008-10-20 2:39 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Pouillard @ 2008-10-17 8:55 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-20 2:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-17 8:55 [sup-talk] [PATCH] Sort the contents of labels.txt Nicolas Pouillard
2008-10-20 2:39 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox