From: Francis Moreau Date: Sat, 26 Mar 2011 16:28:16 GMT Subject: Re: Listing top tracked files and directories only Message-ID: In-Reply-To: On Sat, Mar 26, 2011 at 5:24 PM, Scott Chacon wrote: > Hey, > > On Sat, Mar 26, 2011 at 9:18 AM, Francis Moreau wrote: >> 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 > > $ git ls-tree --name-only [branch] cool thanks a lot ! -- Francis