git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] checkout -f: do not leave untracked working tree files.

From
ALAlexander 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 !
Previous: Junio C HamanoNext: Carl Worth
Message 16 of 17 in “git 1.4.0 usability problem”
  1. Jeff GarzikJun 18, 2006
  2. Ryan AndersonJun 18, 2006
  3. Ryan AndersonJun 18, 2006
  4. Junio C HamanoJun 18, 2006
  5. Junio C HamanoJun 18, 2006
  6. Jeff GarzikJun 18, 2006
  7. Junio C HamanoJun 19, 2006
  8. Jeff GarzikJun 20, 2006
  9. Ryan AndersonJun 20, 2006
  10. Junio C HamanoJun 20, 2006
  11. checkout -f: do not leave untracked working tree files.Junio C Hamano, Jun 20, 2006
  12. Santi BéjarJun 20, 2006
  13. Junio C HamanoJun 20, 2006
  14. Alexander LitvinovJun 20, 2006
  15. Junio C HamanoJun 20, 2006
  16. Alexander LitvinovJun 20, 2006
  17. Carl WorthJun 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.