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

Re: [PATCH] Introduce git version --list-features for porcelain use

From
Johannes Sixt <j.sixt@eudaptics.com>
Date
Jun 1, 2007, 07:13 UTC
Message-ID
<465FC735.C78ACD5@eudaptics.com>
In-Reply-To
<20070601030959.GY7044@spearce.org>
"Shawn O. Pearce" wrote:
Show 13 quoted lines
> Why cat?  Tcl is so horribly broken that to get data for both stdout
> and stderr through a pipe I have to do something sick like:
> 
>         git fetch 2>&1 | cat
> 
> because in Tcl its actually:
> 
>         set rdr [open "| git fetch |& cat" r]
> 
> The |& means 2>&1| in normal shell.  But that means I have to have
> a process after it to receive the data.  Normally that's cat.
> But MinGW doesn't have cat.  (Nor do they have dog, but neither
> does Linux...).  So I need a way to redirect output.

Are you planning for the future? Currently, the MinGW port works only with MSYS installed and $MSYS/bin in your PATH because the shell scripts need an assorted set of POSIX tools. MSYS does ship 'cat', of course.

-- Hannes
Previous: Shawn O. Pearce
Message 12 of 12 in “Introduce git-supported-features for porcelain use”
  1. Introduce git-supported-features for porcelain useShawn O. Pearce, May 30, 2007
  2. Alex RiesenMay 30, 2007
  3. Johannes SchindelinMay 30, 2007
  4. Introduce git version --list-features for porcelain useShawn O. Pearce, May 31, 2007
  5. Johannes SchindelinMay 31, 2007
  6. Alex RiesenMay 31, 2007
  7. Shawn O. PearceMay 31, 2007
  8. Junio C HamanoMay 31, 2007
  9. Shawn O. PearceJun 1, 2007
  10. Junio C HamanoJun 1, 2007
  11. Shawn O. PearceJun 1, 2007
  12. Johannes SixtJun 1, 2007

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.