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

Re: Thoughts on adding another hook to git

From
Nikolai Weibull <now@bitwi.se>
Date
Jun 13, 2006, 06:29 UTC
Message-ID
<dbfc82860606122329w77c566evb94ca79081a0a057@mail.gmail.com>
In-Reply-To
<448DBEEB.3000308@shlrm.org>
On 6/12/06, David Kowis <dkowis@shlrm.org> wrote:
> Yakov Lerner wrote:
> > git-commit sure creates those temp files with
> > specific naming in specific dir. You could check for
> > that in EDITOR script. In the script, you could even check
> > the name of the parent process.
> This is true. However, I'd be running that script every time something
> invoked $EDITOR. And some people may not like that solution. I'm
> thinking that more than just I will like to use this pre-edit hook.
> Especially in the distro I'm helping develop.

Perhaps you could tell us what editor you are using. That way we may provide additional solutions.

  nikolai
Previous: David KowisNext: David Kowis
Message 6 of 9 in “Thoughts on adding another hook to git”
  1. David KowisJun 12, 2006
  2. Yakov LernerJun 12, 2006
  3. David KowisJun 12, 2006
  4. Yakov LernerJun 12, 2006
  5. David KowisJun 12, 2006
  6. Nikolai WeibullJun 13, 2006
  7. David KowisJun 13, 2006
  8. Nikolai WeibullJun 13, 2006
  9. Junio C HamanoJun 13, 2006

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.