Petr Baudis <pasky@xxxxxxx> writes: > If you want to be safe even with filenames containing newlines, you need > to go at the Git level: > > git-ls-files -z --others | \ > xargs -0 git-update-index --add -- If you want to avoid "xargs -0", you can replace it with "git-update-index -z --stdin" I think. > Perhaps we might make a special command which would sync the index set > with the working copy set... I think that makes sense. Something like what "git-commit -a" does before making a commit. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html