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

Re: [PATCH] Added giteditor script to show diff while editing commit message.

From
Ted Pavlic <ted@tedpavlic.com>
Date
Jan 21, 2009, 21:07 UTC
Message-ID
<49778E77.6010906@tedpavlic.com>
In-Reply-To
<0E82F261-2D96-4204-9906-C5E8D47E9A5D@wincent.com>
Show 5 quoted lines
>> This script also detects when "stg edit" is being called and uses "stg
>> show" instead.
> You do know about "git commit -v", right? (Although that displays
> commit message and diff in a single buffer, not two separate ones like
> your script does.)

Actually, I didn't. I was looking for something like hgeditor for git, and I found something on vim.org that almost hit the mark but no mention of "commit -v".

That being said, I like having the diff up in a separate window. Plus, "git commit -v" doesn't help me when I want to "stg edit".

Thanks -- Ted

-- 
Ted Pavlic <ted@tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.
Previous: Ted Pavlic
Message 11 of 11 in “Added giteditor script to show diff while editing commit message.”
  1. Added giteditor script to show diff while editing commit message.ted@tedpavlic.com, Jan 21, 2009
  2. Johannes SchindelinJan 21, 2009
  3. Ted PavlicJan 21, 2009
  4. contrib: A script to show diff in new window while editing commit message.Ted Pavlic, Jan 21, 2009
  5. Junio C HamanoJan 21, 2009
  6. Ted PavlicJan 22, 2009
  7. contrib: A script to show diff in new window while editing commit message.Ted Pavlic, Jan 22, 2009
  8. Junio C HamanoJan 22, 2009
  9. Johannes SchindelinJan 21, 2009
  10. Ted PavlicJan 22, 2009
  11. Ted PavlicJan 21, 2009

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.