Fixed git error during squashing due to detached gvim