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

Re: [PATCH] git status -q (similar to subversion)

From
David Aguilar <davvid@gmail.com>
Date
Jun 28, 2009, 22:44 UTC
Message-ID
<20090628224447.GB1951@gmail.com>
In-Reply-To
<Pine.LNX.4.64.0906272248570.11453@cube>
On Sat, Jun 27, 2009 at 10:57:13PM +0200, Unknown wrote:
Show 10 quoted lines
> Here is a tiny patch adding -q option to git status.
> It means -uno (Show no untracked files).
>
> Not sure where to add that in documentation.
> Maybe in git-commit man just below -u:
> -q (for git-status only, equals to -uno).
> Or something like this?
>
> Regards,
> Borg
Hello

Please take a look at Documentation/SubmittingPatches (all of the documentation lives in Documentation/).

It doesn't seem like this patch was generated with git format-patch. You'll also want to submit your patch using git send-email, as we require inline patches instead of attachments.

You'll need to include a signed-off-by line (which you can do by using `git commit -s`) and it seems like you need to introduce yourself to git:

http://book.git-scm.com/2_setup_and_initialization.html

Sorry, we cannot accept patches from "Unknown" for a number of reasons.

Thanks for your help and we look forward to hearing your response to the rest of the feedback received in this thread.

Show 13 quoted lines
> diff --git a/builtin-commit.c b/builtin-commit.c
> index 41e222d..e4e0074 100644
> --- a/builtin-commit.c
> +++ b/builtin-commit.c
> @@ -826,6 +826,8 @@ int cmd_status(int argc, const char **argv, const char *prefix)
>  		diff_use_color_default = git_use_color_default;
>  
>  	argc = parse_and_validate_options(argc, argv, builtin_status_usage, prefix);
> +	if(quiet)
> +		show_untracked_files = SHOW_NO_UNTRACKED_FILES;
>  
>  	index_file = prepare_index(argc, argv, prefix);
>  
-- 
	David
Previous: Paolo BonziniNext: Unknown
Message 8 of 11 in “git status -q (similar to subversion)”
  1. git status -q (similar to subversion)Unknown, Jun 27, 2009
  2. Jeff KingJun 28, 2009
  3. Martin RenoldJun 28, 2009
  4. Jeff KingJun 30, 2009
  5. Martin RenoldJun 30, 2009
  6. Jeff KingJun 30, 2009
  7. Paolo BonziniJul 1, 2009
  8. David AguilarJun 28, 2009
  9. UnknownJun 29, 2009
  10. Jeff KingJun 30, 2009
  11. UnknownJun 30, 2009

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.