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

StGIT cannot import properly from stdin

From
POPierre Ossman <drzeus-list@drzeus.cx>
Date
Sep 21, 2005, 07:12 UTC
Message-ID
<433107C7.60901@drzeus.cx>

The import command of stgit does not handle stdin in a very sane way. The logic expects to be able to read the patch several times which isn't possible with stdin. So for it to work you have to give it the patch twice.

A simple solution would be to store it to disk and then handle it the same way as if a file had been given on the command line.

Rgds Pierre

Next: Catalin Marinas
Message 1 of 9 in “StGIT cannot import properly from stdin”
  1. Pierre OssmanSep 21, 2005
  2. Catalin MarinasSep 21, 2005
  3. Pierre OssmanSep 22, 2005
  4. Catalin MarinasSep 22, 2005
  5. Pierre OssmanSep 22, 2005
  6. Catalin MarinasSep 22, 2005
  7. Pierre OssmanSep 22, 2005
  8. Catalin MarinasSep 22, 2005
  9. Catalin MarinasSep 22, 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.