I tried to make an alias for committing several different git projects. I tried something like
cat projectPaths | \\ xargs -I project git --git-dir=project/.gi
Interesting! I see the exact same behaviour on Mac as well, doing something as simple as:
ls *.h | xargs vim
Apparently, it is a problem with vim:
http://talideon.com/weblog/2007/03/xargs-vim.cfm