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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 27, 2009 at 10:57:13PM +0200, Unknown wrote:
> 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.


> 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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]