Re: [PATCH] checkout -f: do not leave untracked working tree files.
- From
- Alexander Litvinov <lan@academsoft.ru>
- Date
- Jun 20, 2006, 12:08 UTC
- Message-ID
- <200606201908.53318.lan@academsoft.ru>
- In-Reply-To
- <7vveqw82qd.fsf@assigned-by-dhcp.cox.net>
> "will" meaning "you suspect" or "you tried and confirmed"?
:-) I suspect.
Lets test. Your pu branch (5af05efbeaa06005596129fb111a739a87f8a883) really works. I have cvs repo and use git for daily work. I have head and 2 branches from cvs and store CVS/* files in git too. Usualy this operation pruduce a lot of CVS/Tag files:
git checkout -f cvs-v52 (this is one of by cvs's branch) cvs -q up -dP (nothing have been updated) git checkout -f master (this is a dev branch from cvs head) git status
pu branch nuke them when use git checkout -f !