From: Junio C Hamano Date: Mon, 03 Mar 2008 20:06:35 GMT Subject: Re: How to "git add ." when some files are not accessible (permission denied)? Message-ID: <7vmypfh8s4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <47CC4EAC.1050905@dirk.my1.cc> Dirk Süsserott writes: > This way prepared, I used "git ls-files -o | xargs git add -v" until > most of my files were added. > ... > Caveat: filenames containing blanks are not handled properly as they > are not surrounded by quotes. "git add" thinks of them as two or more > files and fails. Perhaps "git ls-files -z -o | git update-index --add --stdin"