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

gitk "reset branch to here" bug in Cygwin

From
HKHannu Koivisto <azure@iki.fi>
Date
Dec 29, 2008, 13:41 UTC
Message-ID
<83abafcd42.fsf@kalahari.s2.org>
Greetings,
First create a test repository with two commits:

mkdir gittest3 cd gittest3 git init echo foo > foo git add foo git commit -m "Foo" echo foo >> foo git add foo git commit -m "2nd. foo"

Now start gitk, point at the first commit and from the context menu select "Reset master branch to here" and then "Hard:...".

The result is 'can not find channel named "1"'.
git reset --hard HEAD\^1 in the same repository works fine.

Tested with 159c88e5ae95c5b02298193c1658fac5919c8012 (1.6.1 plus a few commits) on Windows XP.

-- 
Hannu
Message 1 of 1 in “gitk "reset branch to here" bug in Cygwin”
  1. Hannu KoivistoDec 29, 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.