]> 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:

Add grep subcommand. Uses ack-grep on VCS that do not have their own. Closes: #685122
authorJoey Hess <joey@kitenet.net>
Fri, 17 Aug 2012 06:10:13 +0000 (23:10 -0700)
committerJoey Hess <joey@kitenet.net>
Fri, 17 Aug 2012 06:10:13 +0000 (23:10 -0700)
debian/changelog
mr

index 68fc1cdd776dff6699e747de72d6202f2cc27f8c..ab5e97179ce3ed053c1946836de31576f3f5c06e 100644 (file)
@@ -3,6 +3,8 @@ mr (1.13) UNRELEASED; urgency=low
   * Pass -q to cvs diff and update. Closes: #673367
   * mr bootstrap: Now supports ssh:// urls.
   * Simpler vcsh status command line. Closes: #685089
   * Pass -q to cvs diff and update. Closes: #673367
   * mr bootstrap: Now supports ssh:// urls.
   * Simpler vcsh status command line. Closes: #685089
+  * Add grep subcommand. Uses ack-grep on VCS that do not have their own.
+    Closes: #685122
 
  -- Joey Hess <joeyh@debian.org>  Fri, 18 May 2012 12:27:45 -0400
 
 
  -- Joey Hess <joeyh@debian.org>  Fri, 18 May 2012 12:27:45 -0400
 
diff --git a/mr b/mr
index 2876fbe9c7a3d8bcdff1695ce270bc6a3f8c13e9..f615699a2d50fd8e6ddb7dbf26e577f034cc0f72 100755 (executable)
--- a/mr
+++ b/mr
@@ -1975,6 +1975,13 @@ fossil_log = fossil timeline "$@"
 vcsh_log = vcsh run "$MR_REPO" git log "$@"
 veracity_log = vv log "$@"
 
 vcsh_log = vcsh run "$MR_REPO" git log "$@"
 veracity_log = vv log "$@"
 
+hg_grep = hg grep "$@"
+cvs_grep = ack-grep "$@"
+svn_grep = ack-grep "$@"
+git_svn_grep = git grep "$@"
+git_grep = git grep "$@"
+bzr_grep = ack-grep "$@"
+
 run = "$@"
 
 svn_register =
 run = "$@"
 
 svn_register =