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

Re: git-am annoyance

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 27, 2009, 22:49 UTC
Message-ID
<alpine.DEB.1.00.0901272348380.3586@pacific.mpi-cbg.de>
In-Reply-To
<bd6139dc0901271437l19f1201ch867f1a7c2045e54b@mail.gmail.com>
Hi,
On Tue, 27 Jan 2009, Sverre Rabbelier wrote:
> What is '-t 0'? How would one detect this in bash?

It detects if file descriptor 0 (stdin) is a terminal. "man test" to the rescue ;-)

Ciao, Dscho

P.S.: if I hadn't tried exactly that in my valgrind patches recently, I would not have known either...

Previous: Sverre Rabbelier
Message 4 of 4 in “git-am annoyance”
  1. Sverre RabbelierJan 27, 2009
  2. Junio C HamanoJan 27, 2009
  3. Sverre RabbelierJan 27, 2009
  4. Johannes SchindelinJan 27, 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.