Re: git "manifest" command
- From
- Matthias Lederhofer <matled@gmx.net>
- Date
- Jun 5, 2007, 17:11 UTC
- Message-ID
- <20070605171108.GB21708@moooo.ath.cx>
- In-Reply-To
- <slrnf6al3s.4vk.csaba-ml@beastie.creo.hu>
Csaba Henk <csaba-ml@creo.hu> wrote:
> On 2007-06-05, Martin Waitz <tali@admingilde.org> wrote: > > like git ls-tree -r? > > Yes. I knew this functionality must be there somewehere...
If you use this from a script note that ls-tree shows the subdirectory
of a tree that corresponds to the current directory in the repository.
This one should always show the full tree:
$ git ls-tree --full-name -r HEAD $(git rev-parse --show-cdup)