{"thread":{"id":"991","subject":"git-read-tree -m -u doesn't delete files: ?","startedAt":"2005-06-20T13:46:26Z","lastAt":"2005-06-20T13:46:26Z","messageCount":1,"participants":["Matthias Urlichs"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"5076","messageId":"pan.2005.06.20.13.46.23.833207@smurf.noris.de","threadId":"991","inReplyTo":null,"subject":"git-read-tree -m -u doesn't delete files: ?","fromName":"Matthias Urlichs","fromEmail":"smurf@smurf.noris.de","sentAt":"2005-06-20T13:46:26Z","receivedAt":"2005-06-20T13:46:26Z","isPatch":false,"sender":{"key":"matthias@urlichs.de","avatar":"https://gravatar.com/avatar/2708905af227313eba6f2b2ae0f7d0259b5ac5d71baef58fe5a13c699ce0bbf0?d=mp&s=160"},"body":"Documentation/git-read-tree.txt states:\n\n     10 yes   yes   N/A     exists   nothing  remove path from cache\n\nand \n\n  -u::\n    After a successful merge, update the files in the work\n    tree with the result of the merge.\n\n... which suggests that the file in question should be deleted.\nIn fcat, if I have a clean tree A, and I do \"git-read-tree -m -u A B\",\nI'd assume that I should have a clean tree B afterwards.\n\nWould it be safe to add all files for which read_tree.c:merge_cache:fn()\nreturns zero to a \"delete me\" list?\n\n-- \nMatthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de\nDisclaimer: The quote was selected randomly. Really. | http://smurf.noris.de\n - -\nThe greatest productive force is human selfishness.\n\n\n"}]}