Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Diff breaks in fugitive :Gstatus #195

Closed
Tylerc230 opened this Issue Oct 26, 2012 · 4 comments

Comments

Projects
None yet
3 participants

I am unable to look at the diff of more than 1 file in fugitives status screen.
Steps to repro:

  1. open vim in git repo with local modifications in multiple files
  2. gs to open fugitive status
  3. 'D' on individual files

observed:
The first time I type 'D', I see the diff of the file I'm diffing. If I try to 'D' on a different file, vim opens an edit buffer below the commit window instead of the diff buffer. From there I am unable to diff any of the files. Basically I can only diff 1 file when I open a status window in fugitive (It is not 100% reproducible, probably more like 90%).

The problem is 'set hidden' breaks fugitive diff. See: tpope/vim-fugitive#91

Contributor

bronzehedwick commented Aug 12, 2014

@Tylerc230, were you able to set nohidden in your .vimrc.local to fix the issue?

@jrobeson jrobeson added the needinfo label Aug 12, 2014

Hey sorry, just saw this. My solution was to comment out the set hidden line in the spf13 .vimrc file. This no longer seems to be an issue for me though. Perhaps it was fixed in fugitive?

Collaborator

jrobeson commented Aug 29, 2014

i guess so as i haven't seen the issue in awhile either. closing!

@jrobeson jrobeson closed this Aug 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment