git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Listing top tracked files and directories only
@ 2011-03-26 16:18 Francis Moreau
  2011-03-26 16:24 ` Scott Chacon
  0 siblings, 1 reply; 3+ messages in thread
From: Francis Moreau @ 2011-03-26 16:18 UTC (permalink / raw)
  To: git

Hello,

I'd like to find a way to list files and directories tracked by git
but which are only in the top directory of the tracked project.

For example, in a kernel repository:

  $ git-magic-command --magic-options
  .gitignore
  .mailmap
   COPYING
   CREDITS
   Kbuild
   MAINTAINERS
   Makefile
   README
   REPORTING-BUGS
   Documentation/
   arch/
   drivers/
   kernel/
   ...

I tried to come up with something using git-ls-files but fails.

Thanks for any suggestions.
-- 
Francis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-26 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 16:18 Listing top tracked files and directories only Francis Moreau
2011-03-26 16:24 ` Scott Chacon
2011-03-26 16:28   ` Francis Moreau

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).