From: Paul Mackerras Date: Fri, 23 May 2008 03:46:15 GMT Subject: Re: [PATCH] gitk - restore operation of git-reset on Cygwin 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: > 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.