git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: skillzero@gmail.com
To: git@vger.kernel.org
Subject: Re: git commit <path> scanning entire working tree?
Date: Tue, 17 Feb 2009 18:25:56 -0800	[thread overview]
Message-ID: <2729632a0902171825g2078755cx6b966417240a59ca@mail.gmail.com> (raw)
In-Reply-To: <7vvdr98rkd.fsf@gitster.siamese.dyndns.org>

On Mon, Feb 16, 2009 at 11:12 PM, Junio C Hamano <gitster@pobox.com> wrote:
> skillzero@gmail.com writes:

> People do rely on that information.  Why else we would spend cycles to show
> them?

My guess was that most people didn't work with very large trees. For
example, the Linux kernel tree stat's pretty quickly (.7 seconds when
hot on my machine), but my tree contains the code for an entire OS
distribution so even on a fast machine and OS, it takes many seconds.

My thinking was that in the case when a path was specified, people
might be less interested in changes/untracked files outside that path
(although I may be totally wrong). If a path wasn't specified, I can
see why it would be useful to show everything. I tend to do a 'git
status' then a bunch of 'git commit <path>' commands.

> There is a precedence to allow a configuration variable to skip various
> computation to help slow systems, e.g. 6c2ce04 (Add argument 'no'
> commit/status option -u|--untracked-files, 2008-06-05).

Thanks, I'll check it out. If that doesn't do what I need, maybe I can
trying changing git to add support for automatically skipping files
outside the specifies path and submit a patch for you guys to rip to
shreds :)

      reply	other threads:[~2009-02-18  2:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 22:58 git commit <path> scanning entire working tree? skillzero
2009-02-17  0:28 ` Junio C Hamano
2009-02-17  2:57   ` Boyd Stephen Smith Jr.
2009-02-17  3:37   ` skillzero
2009-02-17  5:50     ` Boyd Stephen Smith Jr.
2009-02-17  7:12     ` Junio C Hamano
2009-02-18  2:25       ` skillzero [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2729632a0902171825g2078755cx6b966417240a59ca@mail.gmail.com \
    --to=skillzero@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).