[submodule "git-modes"]
path = git-modes
url = https://github.com/magit/git-modes.git
+[submodule "git-wip"]
+ path = git-wip
+ url = https://github.com/bartman/git-wip.git
-Subproject commit dc419c8ec52c5339da6637117a5b0bb89cdd766f
+Subproject commit 3d370602ea891fbc150d425a9e1eb4d4c3b38763
--- /dev/null
+Subproject commit a1ee45d3593c4c9f216e8498d7b6b6abc5c0a857
--- /dev/null
+(let ((dir (concat (file-name-directory
+ (directory-file-name
+ (file-name-directory
+ (or load-file-name
+ (when (boundp 'bytecomp-filename) bytecomp-filename)
+ buffer-file-name))))
+ "git-wip/")))
+ (load (concat dir "emacs/git-wip-mode.el"))
+ (add-to-list 'exec-path dir)
+ (setenv "PATH" (concat (getenv "PATH") ":/usr/lib/git-core")))
(split-string files "\n")))))))
(defun grep-in-git-repo (regexp &optional words-only)
- (interactive "sGrep files in Git repo regexp: \np")
+ (interactive "sGrep files in Git repo regexp: \nP")
(let ((default-directory (magit-get-top-dir default-directory)))
(if (not default-directory)
(error "not a Git directory"))