Re: inotify to minimize stat() calls
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 8, 2013, 00:04 UTC
- Message-ID
- <7vr4jqkb9g.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <513911B3.7010903@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
Show 10 quoted lines
> diff --git a/builtin/commit.c b/builtin/commit.c
> index d6dd3df..6a5ba11 100644
> --- a/builtin/commit.c
> +++ b/builtin/commit.c
> @@ -1158,6 +1158,8 @@ int cmd_status(int argc, const char **argv, const char *prefix)
> unsigned char sha1[20];
> static struct option builtin_status_options[] = {
> OPT__VERBOSE(&verbose, N_("be verbose")),
> + OPT_BOOLEAN('c', "changed-only", &s.check_changed_only,
> + N_("Ignore untracked files. Check if files known to git are modified")),Doesn't this make one wonder why a separate bit and implementation is necessary to say "I am not interested in untracked files" when "-uno" option is already there?