From: Rich Lane <rlane@club.cc.cmu.edu>
To: sup-devel@rubyforge.org
Subject: [sup-devel] [PATCH] call index.load in sup-add
Date: Wed, 6 Jan 2010 19:34:18 -0800 [thread overview]
Message-ID: <1262835258-6130-1-git-send-email-rlane@club.cc.cmu.edu> (raw)
If it's going to call index.save, it needs to load it first.
---
bin/sup-add | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bin/sup-add b/bin/sup-add
index c53378d..a7a3752 100755
--- a/bin/sup-add
+++ b/bin/sup-add
@@ -86,6 +86,7 @@ end
$terminal.wrap_at = :auto
Redwood::start
index = Redwood::Index.init
+index.load
index.lock_interactively or exit
--
1.6.5.2
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next reply other threads:[~2010-01-07 3:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 3:34 Rich Lane [this message]
2010-01-14 13:55 ` 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=1262835258-6130-1-git-send-email-rlane@club.cc.cmu.edu \
--to=rlane@club.cc.cmu.edu \
--cc=sup-devel@rubyforge.org \
/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