From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
Subject: [sup-talk] [PATCH] Sort the contents of labels.txt
Date: Fri, 17 Oct 2008 10:55:37 +0200 [thread overview]
Message-ID: <1224233737-32731-1-git-send-email-nicolas.pouillard@gmail.com> (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
next reply other threads:[~2008-10-17 8:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 8:55 Nicolas Pouillard [this message]
2008-10-20 2:39 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1224233737-32731-1-git-send-email-nicolas.pouillard@gmail.com \
--to=nicolas.pouillard@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox