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

`git status -u no` suppresses modified files too.

From
Rusty Russell <rusty@rustcorp.com.au>
Date
Feb 8, 2019, 01:48 UTC
Message-ID
<87y36rcanq.fsf@rustcorp.com.au>

This broke my "is this clean?" sanity check and very much violates the man page description.

(I am now using `git diff --name-only` instead at Joel's suggestion.)
        $ git status
        On branch guilt/repro
        Changes not staged for commit:
          (use "git add <file>..." to update what will be committed)
          (use "git checkout -- <file>..." to discard changes in working directory)
        
        	modified:   tools/repro-build.sh
        
        Untracked files:
          (use "git add <file>..." to include in what will be committed)
        
        	.cache/
        	ANALYSIS
        	NOTES
        	SHA256SUMS
        	SHA256SUMS.asc
        	badpeer.json
        	base
        	channels.out.xz
        
        no changes added to commit (use "git add" and/or "git commit -a")
        $ git status -u no
        On branch guilt/repro
        nothing to commit, working tree clean
        $ git --version
        git version 2.19.1
        $

Cheers, Rusty.

Next: Jeff King
Message 1 of 5 in “`git status -u no` suppresses modified files too.”
  1. Rusty RussellFeb 8, 2019
  2. Jeff KingFeb 8, 2019
  3. Rusty RussellFeb 23, 2019
  4. Duy NguyenFeb 25, 2019
  5. Junio C HamanoMar 3, 2019

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.