Adam Spiers wrote:
>     git annex add this_file_does_not_exist
> 
> does not result in a warning.  This leads to confusing (lack of)
> behaviour in certain cases, e.g.
> 
>     generate_a_list_of_files_some_of_which_contain_spaces | xargs git annex 
> add
> 
> would silently fail to add the files containing spaces (because you'd
> need the -d or -0 switch to xargs to cope with this case).

This can indeed be confusing; it's a result of git-annex using
git-ls-files --others.

joey@gnu:~/src/other/git>git ls-files --others zlib.o fofofofoofof
zlib.o

Since using git-ls-files is so convenient in most ways, all I can
think to do about this is document it.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

_______________________________________________
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Reply via email to