git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git color in commit editor

From
PSPavan Savoy <pavan_savoy@sify.com>
Date
Jan 9, 2011, 18:26 UTC
Message-ID
<AANLkTikns9XyM48HkggaKFEsj61hP1y3Y-QczA0Pp9Bs@mail.gmail.com>
In-Reply-To
<AANLkTimAXV9u4FfL2cv5vE9oDgs-LfJu2DopRw=FEqUE@mail.gmail.com>

On Thu, Jan 6, 2011 at 4:28 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 7 quoted lines
> On Thu, Jan 6, 2011 at 07:42, Pavan Savoy <pavan_savoy@sify.com> wrote:
>> I have git version git version 1.5.6.3, on 1 system and get the colors
>> right during a git commit (commit editor being vim..)
>
> FWIW here's how to get those colors under Emacs:
> https://github.com/rafl/git-commit-mode
>

Thanks, I do have syntax on in my vimrc, as I mentioned, I also have colors in vim for .c files on both machines... The only differences being git versions, also what syntax or color format would vim get for git and from where?

Previous: Ævar Arnfjörð BjarmasonNext: Jonathan Nieder
Message 5 of 6 in “git color in commit editor”
  1. Pavan SavoyJan 6, 2011
  2. Thomas RastJan 6, 2011
  3. Matthijs KooijmanJan 6, 2011
  4. Ævar Arnfjörð BjarmasonJan 6, 2011
  5. Pavan SavoyJan 9, 2011
  6. Jonathan NiederJan 9, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.