Skip to content

Commit

Permalink
turn-on-magit-wip-save: fix magit#1702
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jan 16, 2015
1 parent 16820ad commit 734ddf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions magit-wip.el
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ repository where wip-save is enabled in git config.
You can activate it with git config magit.extension wip-save."
(when (and (buffer-file-name)
(magit-get-top-dir)
(magit-git-true "rev-parse" "--is-inside-work-tree")
(member "wip-save" (magit-get-all "magit.extension")))
(if (magit-git-success "wip" "-h")
(magit-wip-save-mode 1)
Expand Down

0 comments on commit 734ddf4

Please sign in to comment.