public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag:master commit in: /
Date: Tue, 24 Feb 2015 03:05:39 +0000 (UTC)	[thread overview]
Message-ID: <1424747134.e9549cb1f04b005a112a223f49db1dbfe29b8f8b.robbat2@gentoo> (raw)

commit:     e9549cb1f04b005a112a223f49db1dbfe29b8f8b
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 03:05:34 2015 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 03:05:34 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=e9549cb1

We do not want to catch NoMethodError from deeper in the stack.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

---
 ag | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ag b/ag
index 644cb4b..00ce189 100755
--- a/ag
+++ b/ag
@@ -247,9 +247,9 @@ end
 
 ###############################################################################
 
-begin
+if self.private_methods.include? $options.action
   send $options.action
-rescue NoMethodError
+else
   abort "Internal Error: Unknown action: #{$options.action}"
 end
 # vim: ts=2 sts=2 et ft=ruby:


             reply	other threads:[~2015-02-24  3:05 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24  3:05 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-07 21:06 [gentoo-commits] proj/ag:master commit in: / Alex Legler
2015-03-07 20:55 Alex Legler
2015-03-04 15:12 Alex Legler
2015-03-04 14:38 git@oystercatcher mirror+tproxy
2015-03-04 14:38 Alex Legler
2015-02-26  0:00 Robin H. Johnson
2015-02-25 23:57 Robin H. Johnson
2015-02-25 23:54 Robin H. Johnson
2015-02-25 23:48 Robin H. Johnson
2015-02-25 23:40 Robin H. Johnson
2015-02-25 23:40 Robin H. Johnson
2015-02-25 23:40 Robin H. Johnson
2015-02-24  4:21 Robin H. Johnson
2015-02-24  4:21 Robin H. Johnson
2015-02-24  2:57 Robin H. Johnson
2015-02-24  2:47 Robin H. Johnson
2015-02-24  2:46 Robin H. Johnson
2015-02-24  2:18 Robin H. Johnson
2015-02-24  2:17 Robin H. Johnson
2015-02-24  2:02 Robin H. Johnson
2015-02-23 23:55 Alex Legler
2015-02-23 22:48 Robin H. Johnson
2015-02-23 22:45 Robin H. Johnson
2015-02-23 21:05 Alex Legler
2015-02-23 20:59 Alex Legler
2015-02-23 20:59 Alex Legler
2015-02-21 21:59 Alex Legler
2015-02-21 21:52 Robin H. Johnson
2015-02-21 21:52 Robin H. Johnson
2015-02-21 21:52 Robin H. Johnson
2015-02-21 21:45 Robin H. Johnson
2015-02-21 18:57 Alex Legler

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=1424747134.e9549cb1f04b005a112a223f49db1dbfe29b8f8b.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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