]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

don't list rcs specific commands in usage message or
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 23:49:32 +0000 (19:49 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 23:49:32 +0000 (19:49 -0400)
allow them to be run manually

Just too confusing.

This does also prevent user-defined commands from
having '_' in the name, but I think that's acceptable.

mr

diff --git a/mr b/mr
index 606ea5d2dfac9e105a3e38625367269e0158e1c0..cf5ffc0659b0cf28f55cfc8e797f7aa18e06627e 100755 (executable)
--- a/mr
+++ b/mr
@@ -856,7 +856,7 @@ sub loadconfig { #{{{
                        }
                        else {
                                $config{$dir}{$section}{$parameter}=$value;
-                               $knownactions{$parameter}=1;
+                               $knownactions{$parameter}=1 if $parameter !~ /_/;
                                if ($parameter eq 'chain' &&
                                    length $dir && $section ne "DEFAULT" &&
                                    -e $dir.$section."/.mrconfig") {