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

Re: "git revert" (Re: pci_update_resource() getting called on sparc64)

From
Junio C Hamano <junkio@cox.net>
Date
Aug 8, 2005, 22:47 UTC
Message-ID
<7vd5oo11wj.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0508081444040.3258@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> Or if you want to be more CVS-like, use "-F", and accept "-" for stdin?
Yes my vote goes:
	-m "message"
        -c "from this commit, literally."
        -C "from this commit, but let me edit the log further."
        -F "from this file."
        -F - <stdin
> But I like "test -t 0" regardless. Very few editors are ok with non-tty
> stdin, although I could imagine some disturbed individual having "ed" as
> their editor and expecting to be able to pipe commands into it or
> something.

I am a disturbed individual who always works in Emacs and run "git commit" in the compilation buffer, setting EDITOR to emacsclient. Admittably the compilation buffer uses pty, so "test -t 0" would succeed, though.

Previous: Linus TorvaldsNext: Johannes Schindelin
Message 10 of 12 in “"git revert" (Re: pci_update_resource() getting called on sparc64)”
  1. Linus TorvaldsAug 8, 2005
  2. Junio C HamanoAug 8, 2005
  3. Linus TorvaldsAug 8, 2005
  4. Junio C HamanoAug 8, 2005
  5. git-commit-script, was Re: "git revert" (Re: pci_update_resource() getting called on sparc64)Johannes Schindelin, Aug 8, 2005
  6. Junio C HamanoAug 8, 2005
  7. Linus TorvaldsAug 8, 2005
  8. Junio C HamanoAug 8, 2005
  9. Linus TorvaldsAug 8, 2005
  10. Junio C HamanoAug 8, 2005
  11. Johannes SchindelinAug 9, 2005
  12. Johannes SchindelinAug 9, 2005

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.