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

Strange untracked file behaviour

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 16, 2008, 23:24 UTC
Message-ID
<20081216232452.GV5691@genesis.frugalware.org>
Hi,
Here is a copy of the udev repo I cloned some time ago:
http://frugalware.org/~vmiklos/files/udev.tar.bz2
I did not modify it, so I thought a simple 'git pull' can update it.

$ git pull Updating 661a0be..b6626d0 error: Untracked working tree file 'test/sys/class/misc/rtc/dev' would be removed by merge.

Ok, let's clean the untracked files:
$ git clean -x -d -f
But it does not remove any file.

$ git ls-files|grep test/sys/class/misc/rtc/dev test/sys/class/misc/rtc/dev

So it seems git-clean is right.

$ git pull -s resolve Updating 661a0be..b6626d0 error: Untracked working tree file 'test/sys/class/misc/rtc/dev' would be removed by merge.

So it does not seem to be merge-recursive-related.
Does somebody have an idea what's going on? :)

$ git version git version 1.6.1.rc1.35.gae26e.dirty

('dirty' is due to non-code changes in my working directory.)
Let me know if you need more details.
Thanks.
Next: Johannes Schindelin
Message 1 of 3 in “Strange untracked file behaviour”
  1. Miklos VajnaDec 16, 2008
  2. Johannes SchindelinDec 17, 2008
  3. Miklos VajnaDec 17, 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.