Git Product home page Git Product logo

Comments (11)

sebdah avatar sebdah commented on July 1, 2024

+1, I have the same problem with my commits.

from maximum-awesome.

rudle avatar rudle commented on July 1, 2024

This happens when git receives a non-zero exit code from $EDITOR. Obviously, this is unintentional and is probably related to something specific to your system.

Make sure that there's nothing obviously broken with your vim setup - I'd start by taking a look at :mess to see if there are errors with any of your plugins.

from maximum-awesome.

abhinavsingh avatar abhinavsingh commented on July 1, 2024

This error was only introduced after maximum-awesome installation. Probably one of the included plugin is faulty. In case it helps here is my system information:

$ uname -a
Darwin Abhinavs-MacBook-Pro.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

Also :mess shows nothing.

from maximum-awesome.

strongriley avatar strongriley commented on July 1, 2024

Does vim work regularly outside of git commit? Others have commented that opening Vim at all causes a SegFault. #34

from maximum-awesome.

abhinavsingh avatar abhinavsingh commented on July 1, 2024

Yes vi, vim works perfectly outside of git commit editor. I don't see any SegFault. In case it helps, my ruby version:

$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]

from maximum-awesome.

strongriley avatar strongriley commented on July 1, 2024

To rule some things out, can you replace the symlink ~/.vimrc with just an empty file and see if it's still causing problems? That'll determine whether it might be plugin-related or possibly MacVim-related. Thanks.

from maximum-awesome.

xiaowl avatar xiaowl commented on July 1, 2024

Checkout this blog: http://tooky.co.uk/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html

Look at the first comment:

Paul Rosania • 3 years ago
If you are using Pathogen, you are probably calling filetype off at the beginning of your vimrc file. I found this to be the root cause -- if filetype is already off, calling filetype off causes a bad exit status.
Try adding filetype on right before filetype off and see if it fixes it. It did for me!

from maximum-awesome.

abhinavsingh avatar abhinavsingh commented on July 1, 2024

@kevin4byte This certainly fixed my git editor. Can we kindly include this in the master repo?

$ git diff
diff --git a/vimrc b/vimrc
index 8e7ba42..2fc0226 100644
--- a/vimrc
+++ b/vimrc
@@ -1,4 +1,5 @@
 " set up pathogen, https://github.com/tpope/vim-pathogen
+filetype on
 filetype off
 call pathogen#infect()
 filetype plugin indent on

Thanks.

from maximum-awesome.

sparecycles avatar sparecycles commented on July 1, 2024

👍

from maximum-awesome.

sebdah avatar sebdah commented on July 1, 2024

Works good for me after the #64 pull request.

from maximum-awesome.

abhinavsingh avatar abhinavsingh commented on July 1, 2024

👍

from maximum-awesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.