From: Junio C Hamano Date: Thu, 22 Jun 2006 17:05:10 GMT Subject: Re: Tracking CVS Message-ID: <7vveqtp1dl.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060622135831.GB21864@pasky.or.cz> Petr Baudis 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.