git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Darrin Thompson <darrint@progeny.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: git-ls-files -o no recurse?
Date: Wed, 04 Jan 2006 13:51:32 -0500	[thread overview]
Message-ID: <1136400692.5919.11.camel@localhost.localdomain> (raw)

git-ls-files -o reports _all_ the unknown files it finds in a work area.
Subversion and probably other systems "simply ignore all the files 
and directories inside an unknown directory and just note the directory
as unknown." (A quote from my porcelain's mailing list.)

I'd like to make this friendly behavior the default in my porcelain.
Unfortunately, getting the same result from a porcelain requires
implementing a non-trivial algorithm to discover common prefixes, worry
about performance on large projects, etc.

Would it be hard to make git-ls-files optionally do this?

--
Darrin

             reply	other threads:[~2006-01-04 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 18:51 Darrin Thompson [this message]
2006-01-04 21:31 ` git-ls-files -o no recurse? Linus Torvalds
2006-01-05 17:15   ` Darrin Thompson
2006-01-05 17:31     ` Linus Torvalds
2006-01-06 22:38   ` Junio C Hamano
2006-01-07 18:20     ` Darrin Thompson
2006-01-07 18:23     ` Darrin Thompson
2006-01-07 18:45       ` Junio C Hamano
2006-01-07 19:34         ` Linus Torvalds

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=1136400692.5919.11.camel@localhost.localdomain \
    --to=darrint@progeny.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).