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

Git on macOS shows committed files as untracked

From
Rroeder.git@mailnull.com <roeder.git@mailnull.com>
Date
Jul 12, 2017, 22:21 UTC
Message-ID
<20170712222128.A2F7A246E3@outside.256stuff.com>
In Git on macOS (git version 2.13.2 | brew install git) the status command will show folders as untracked even though they are committed and checked out from the repository. Does not reproduce on Windows and Ubuntu.
Repro steps:
1. Download https://www.dropbox.com/s/0q5pbpqpckwzj7b/gitstatusrepro.zip?dl=0
2. unzip gitstatusrepro.zip && cd gitstatusrepro
3. git reset --hard
HEAD is now at 95fcd7e add folder with unicode name
4. git status
On branch master
Untracked files:
  (use "git add <file>..." to include in what will be committed)
	"d\314\207\316\271\314\223\314\200\342\225\223\316\265\357\256\257\360\222\221\217\342\227\213\342\225\223\320\243\314\213/"
nothing added to commit but untracked files present (use "git add" to track)

---------- This message was sent from a MailNull anti-spam account. You can get your free account and take control over your email by visiting the following URL.

   http://mailnull.com/
Next: Jeff King
Message 1 of 4 in “Git on macOS shows committed files as untracked”
  1. roeder.git@mailnull.comJul 12, 2017
  2. Jeff KingJul 12, 2017
  3. Torsten BögershausenJul 13, 2017
  4. Junio C HamanoJul 13, 2017

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.