This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vim not working as an editor for git


On Fri, Dec 6, 2013 at 5:36 PM, Adrian Hawryluk <---> wrote:
> Doing a simple command like
>
>   git config -e
>
> just hangs the terminal.  I can break out or suspend the process, but
> in both cases it, the git that I though I was executing is terminated
> and the git underneath remains, leaving a sh process executing a vim
> process.

I can say that launching vim using 'git config -e' works fine for me.
I can edit the config, and suspend and resume vim, with no problems.

>  I.e. what the process tree looks like:
>
>   bash   -- my current shell
>   \_ bash  -- ?? executed when executing git command
>    \_ git   -- the git that I thought I invoked
>     \_ git   -- ?? git invoked another git
>      \_ sh    -- git invoking sh to invoke vim
>       \_ vim   -- finally, the actual vim process
>

This is also not what I am seeing. 'ps' shows the expected one copy of
bash and one copy of vim. I am using mintty for my terminal.

CYGWIN_NT-6.1-WOW64 box3 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin

Hope this is helpful.

Yours,
Jeremy Hetzler

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]