motemen / git-vim

My vim files for Git
576 stars 73 forks source link

Enter in :GitStatus doesn't add files #5

Closed wincent closed 8 years ago

wincent commented 15 years ago

With current HEAD of git-vim (73a181764660f50b905e5baf2129b4018246fe39), hitting "enter" to add files while viewing :GitStatus output doesn't work. Just yields this error for me:

Error detected while processing function GitAdd..GitDoCommand..<SNR>16_SystemGit:
line    1:
E484: Can't open file /var/folders/mh/mhvu4vHPGiGR1PpCmIscX++++TI/-Tmp-/v868250/10

Not sure what other info might help troubleshoot this one. I'm running MacVim 7.2 stable 1.2 (33.3) on Mac OS X 10.5.6 and Git 1.6.3.

rphillips commented 15 years ago

I have the same problem with the same versions of everything.

robertmassaioli commented 14 years ago

Yeah I get the same problem too if I just do a straight enter. This works if you yy and then enter so that the name is in the first buffer.

However it still fails if you have spaces in the name, you need to escape the spaces. I am going to try and fix this but I'll need to learn how to write vim scripts first...going now...

wincent commented 14 years ago

As far as I can tell this project isn't being developed very actively any more. You could check out this as an alternative:

http://github.com/tpope/vim-fugitive