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

[BUG?] git gui handles type change from file to symlink poorly

From
Gustaf Hendeby <hendeby@isy.liu.se>
Date
Aug 14, 2008, 22:23 UTC
Message-ID
<48A4B04D.4070302@isy.liu.se>

Hi! Playing around with git gui I noticed that git gui handles the case when files are transformed to symlinks poorly. The following exposes the problem:

mkdir foo cd foo git init echo FILE > foo git add foo && git commit -mFile rm foo ln -s bar foo

Now start the git gui and try to stage the change in foo.
Gives:   error: no desc for state={_T} foo

Then try add the change to foo to the index at the command line and try to commit in the gui...

I don't speak tk/tcl so unfortunately I can't be of much help chasing this down.

/Gustaf
Message 1 of 1 in “[BUG?] git gui handles type change from file to symlink poorly”
  1. Gustaf HendebyAug 14, 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.