git-read-tree -m -u doesn't delete files: ?
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Jun 20, 2005, 13:46 UTC
- Message-ID
- <pan.2005.06.20.13.46.23.833207@smurf.noris.de>
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.