Skip to content
Browse files

Remove ffig-grep

It's a good idea, but it doesn't work very well for now. Removing
it until I get a chance to work on it again.
  • Loading branch information...
1 parent 12c99d6 commit 16cb59d19faf8e1fc710567c411c4e7170abcd92 @pteichman committed Mar 13, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 ffig.el
View
14 ffig.el
@@ -70,20 +70,6 @@ With a prefix argument, prompt for the git repository to search."
(find-file path)
(message "File not found in git repository: %s" file))))
-(defun ffig-grep (prompt-for-repo)
- "Run M-x grep over a git repository.
-
-With a prefix argument, prompt for the git repository to search."
- (interactive "P")
- (let* ((repo-path (ffig-get-default-repository prompt-for-repo))
- (command (read-shell-command
- "Run git-grep (like this): "
- (format "%s --no-pager --git-dir=%s --work-tree=%s grep -n "
- ffig-git-path
- repo-path
- (file-name-directory repo-path)))))
- (grep command)))
-
(defun ffig-get-default-repository (prompt-for-repo)
(let ((default-repo (ffig-git-repository (buffer-file-name))))
(if (or prompt-for-repo (not default-repo))

0 comments on commit 16cb59d

Please sign in to comment.
Something went wrong with that request. Please try again.