Re: git annex add silently ignores non-existent files

2011-12-27 Thread Richard Hartmann
On Sat, Dec 24, 2011 at 15:44, Joey Hess j...@kitenet.net wrote: Since using git-ls-files is so convenient in most ways, all I can think to do about this is document it. --error-unmatch ? Richard ___ vcs-home mailing list vcs-home@lists.madduck.net

Re: git annex add silently ignores non-existent files

2011-12-27 Thread Joey Hess
Richard Hartmann wrote: On Sat, Dec 24, 2011 at 15:44, Joey Hess j...@kitenet.net wrote: Since using git-ls-files is so convenient in most ways, all I can think to do about this is document it. --error-unmatch ? Produces a strange error message if run on files that are already in git:

Re: git annex add silently ignores non-existent files

2011-12-27 Thread Richard Hartmann
On Tue, Dec 27, 2011 at 16:51, Joey Hess j...@kitenet.net wrote: joey@gnu:~/src/other/gitgit ls-files --error-unmatch --others zlib.o zlib.c zlib.o error: pathspec 'zlib.c' did not match any file(s) known to git. Did you forget to 'git add'? I am 99% sure this is a bug; investigating.

Re: git annex add silently ignores non-existent files

2011-12-24 Thread Joey Hess
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