Re: Tracking CVS
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 22, 2006, 17:05 UTC
- Message-ID
- <7vveqtp1dl.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060622135831.GB21864@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 5 quoted lines
> 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.