linux@horizon.com writes: > Um, I'm looking at the one-side remove case, which t/t1000 calls > > O A B result index requirements > ------------------------------------------------------------------- > 10 exists O==A missing remove ditto > ------------------------------------------------------------------ > > while trivial-merge.txt says is: > > case ancest head remote result > ---------------------------------------- > 10 ancest^ ancest (empty) no merge > > I assumed the test case was probably more accurate, given that it's coupled > to code which actually verifies the behaviour. You are right. And the test expects something different from that table in t/t1000 test. Relevant are the lines for ND (one side No action the other Delete) in the "expected" file. The test expects the result to be unmerged. Interesting is that it did so from the day one [*1*]. The very original read-tree 3-way was quite conservative and left more things unmerged for the policy script to handle, and it is not surprising it started like this, but during the course of the project I thought read-tree was made to collapse more cases in index. I am a bit surprised we did not loosen it ever since [*2*]. Thanks for pointing out the discrepancy. We earlier agreed that the table in t/t1000 test should go and superseded by trivial-merge.txt, so what the table says right now is a non-issue, but we _might_ want to revisit the issue of what should happen in case #8 and #10 sometime in the future, as the last three lines of trivial-merge.txt mentions. I'd say we should leave things as they are for now, though. > --reset:: > - > - Same as -m except that unmerged entries will be silently ignored. > + Same as -m except that unmerged entries will be silently overwritten > + (instead of failing). Thanks. > "Do something really complicated and then commit it to the repository" > is a frightening concept. "Do something really complicated and > then stop and wait for you to see if it was what you expected" is > a lot more comforting. Fair enough. >>> 7) The git-tag man page could use a little better description of -a. > >> Please. It should have the same "OPTIONS" section as others do. > > I know NOTHING about asciidoc, and really wish I could fix its > lack-of-line-break problem: Thanks for pointing that one ont. I think Josef recently did similar linebreak on git-mv page. I'll try and see if I can mimic what he did [*3*]. > diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt > index 95de436..7635b1e 100644 > --- a/Documentation/git-tag.txt > +++ b/Documentation/git-tag.txt Thanks; applied. [Footnotes] *1* A pickaxe example: $ git whatchanged -p -S'100644 1 ND 100644 2 ND' shows only two commits. One is the first version of the test, and the other is to adjust for the output format from *2* Further archaeology revealed that I did loosening primarily for the 2-way side, and did not touch much about 3-way merge other than what used to be marked with ALT. There was no 10ALT ever so it shows that my memory is simply faulty ;-). *3* I did that, and it renders HTML side nicer, but it breaks manpages X-<. Inputs from asciidoc gurus are appreciated. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sat Dec 03 07:32:09 2005
This archive was generated by hypermail 2.1.8 : 2005-12-03 07:32:17 EST