From e1d637b30f797803bf1b105e0a7d28b3c0f16fda Mon Sep 17 00:00:00 2001
From: Jerome Reybert <jreybert@gmail.com>
Date: Fri, 13 Nov 2015 12:00:13 +0100
Subject: [PATCH] plugin/magit.vim: fix show_magit('c'), do not discard current
 buffer

---
 plugin/magit.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/magit.vim b/plugin/magit.vim
index 6eaba93..479a435 100644
--- a/plugin/magit.vim
+++ b/plugin/magit.vim
@@ -587,7 +587,7 @@ function! magit#show_magit(display, ...)
 	elseif ( a:display == 'h' )
 		new 
 	elseif ( a:display == 'c' )
-		"nothing, use current buffer
+		enew
 	else
 		throw 'parameter_error'
 	endif
-- 
GitLab