Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created January 6, 2013 21:27
Show Gist options
  • Save danlamanna/4470368 to your computer and use it in GitHub Desktop.
Save danlamanna/4470368 to your computer and use it in GitHub Desktop.
(defadvice magit-status(after enable-magit-svn-mode activate)
"Enable `magit-svn-mode' when opening magit via `magit-status'
and is a git svn repository."
(require 'magit-svn)
(when (magit-svn-get-ref-info)
(turn-on-magit-svn)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment