git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-read-tree -m -u doesn't delete files: ?
@ 2005-06-20 13:46 Matthias Urlichs
  0 siblings, 0 replies; only message in thread
From: Matthias Urlichs @ 2005-06-20 13:46 UTC (permalink / raw)
  To: git

Documentation/git-read-tree.txt states:

     10 yes   yes   N/A     exists   nothing  remove path from cache

and 

  -u::
    After a successful merge, update the files in the work
    tree with the result of the merge.

... which suggests that the file in question should be deleted.
In fcat, if I have a clean tree A, and I do "git-read-tree -m -u A B",
I'd assume that I should have a clean tree B afterwards.

Would it be safe to add all files for which read_tree.c:merge_cache:fn()
returns zero to a "delete me" list?

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
The greatest productive force is human selfishness.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-20 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20 13:46 git-read-tree -m -u doesn't delete files: ? Matthias Urlichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).