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

Re: cogito: cannot add dangling symlinks whereas git can

From
Petr Baudis <pasky@suse.cz>
Date
Feb 7, 2006, 00:58 UTC
Message-ID
<20060207005817.GL31278@pasky.or.cz>
In-Reply-To
<20060102120912.13409.qmail@c3aed7b85ae352.315fe32.mid.smarden.org>

Dear diary, on Mon, Jan 02, 2006 at 01:15:17PM CET, I got a letter where Gerrit Pape <pape@smarden.org> said that...

Show 7 quoted lines
> forwarded 313596 upstream
> quit
> 
> Hi, cg-add refuses to add special files such as dangling symlinks while
> git can handle them just fine.  Please see http://bugs.debian.org/313596
> 
> I'm not sure why cg-add checks files to commit with test -f.

Because you really do not want to add character specials or named pipes. ;-) I have changed the test to also check for symlinks.

Thanks,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams
Previous: Gerrit Pape
Message 2 of 2 in “cogito: cannot add dangling symlinks whereas git can”
  1. Gerrit PapeJan 2, 2006
  2. Petr BaudisFeb 7, 2006

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.