forwarded 687281 http://git-annex.branchable.com/todo/add_-all_option/
thanks

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.

However, if you just want to see what's present in your bare repository,
there's an easy way:

git clone mybare.git nonbare
cd nonbare
git annex find --in origin

Obviously you don't have to clone every time; any non-bare repository
can find the contents of any other repository.

The proposed --all option would allow doing more useful things with
bare repositories.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to