Skip to content
Browse files

Make git annotate ignore whitespace.

  • Loading branch information...
1 parent 2536ffc commit 71f9f3d1b934bb0c0ae377a8f82f273b0f213173 @technomancy committed Feb 19, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 starter-kit-defuns.el
5 starter-kit-defuns.el
@@ -162,5 +162,10 @@
(message (if (y-or-n-p "Do you have a test for that? ") "Good." "Bad!")))
+;; A monkeypatch to cause annotate to ignore whitespace
+(defun vc-git-annotate-command (file buf &optional rev)
+ (let ((name (file-relative-name file)))
+ (vc-git-command buf 0 name "blame" "-w" rev)))
(provide 'starter-kit-defuns)
;;; starter-kit-defuns.el ends here

0 comments on commit 71f9f3d

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