On Tue, Sep 11, 2012 at 10:53:38AM -0400, Joey Hess wrote:
> Julien Danjou wrote:
> > I used a bare repository on a VFAT filesyste, with SHA1E backend. It works
> > fine for a music player. But I don't see a way to get what is present in the
> > repository. git annex find does not work in a bare repository. :-(
> 
> Nor do a lot of git annex commands, as they all rely on git ls-files to
> list files to act on, and git ls-files finds no files in bare
> repositories, because it lists files in the index and working tree.

May I suggest to use `git ls-tree` instead which works in bare
repositories because it works on tree-ish, as e.g. in

    git ls-tree master:dir/


ls-tree also claims to support listing from index if ":" starts first.


Thanks,
Kirill


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to