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

Re: [PATCH] gitk - restore operation of git-reset on Cygwin

From
Paul Mackerras <paulus@samba.org>
Date
May 23, 2008, 03:46 UTC
Message-ID
<18486.15879.551874.408651@cargo.ozlabs.ibm.com>
In-Reply-To
<1211511636-3552-1-git-send-email-mlevedahl@gmail.com>
Mark Levedahl writes:
Show 6 quoted lines
> Commit 6df7403a98737 modified the call to git-reset to invoke git
> directly rather than using "sh -c", but is redirecting stderr to stdout.
> This does not work on Cygwin, probably because the Tcl/Tk package is
> a windows program rather than Cygwin. The result is always an error
> message proclaiming 'can not find channel named "1"'. This restores
> invocation through sh -c.

Are you using Tk 8.4 or 8.5? The man pages for 8.5 imply that the 2>@1 form should work for all platforms, but maybe that wasn't true in 8.4. If that's the case it's worth mentioning in the patch description.

Paul.
Previous: Mark LevedahlNext: Mark Levedahl
Message 2 of 5 in “gitk - restore operation of git-reset on Cygwin”
  1. gitk - restore operation of git-reset on CygwinMark Levedahl, May 23, 2008
  2. Paul MackerrasMay 23, 2008
  3. Mark LevedahlMay 23, 2008
  4. Mark LevedahlMay 23, 2008
  5. Shawn O. PearceMay 23, 2008

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.