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

Re: [PATCHv2 1/2] add basic tests for merge-tree

From
Will Palmer <wmpalmer@gmail.com>
Date
Jul 14, 2010, 07:01 UTC
Message-ID
<1279090893.2789.21.camel@dreddbeard>
In-Reply-To
<7vaapv0xin.fsf@alter.siamese.dyndns.org>
On Tue, 2010-07-13 at 16:31 -0700, Junio C Hamano wrote:
Show 13 quoted lines
> Will Palmer <wmpalmer@gmail.com> writes:
> 
> > merge-tree had no test cases, so here we add some very basic tests for
> > it, including some known-breakages.
> >
> > Signed-off-by: Will Palmer <wmpalmer@gmail.com>
> > ---
> >  t/t4300-merge-tree.sh |  277 +++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 files changed, 277 insertions(+), 0 deletions(-)
> >  create mode 100755 t/t4300-merge-tree.sh
> 
> This does not sound like part of "the diff commands", unlike apply/diff/log.
> Perhaps somewhere in t3xxx "other basic commands" series?

I was a bit iffy on this one. Part of this was, admittedly, because t3[0-9] were all taken, and I'm not sure about what number should be used after that (perhaps t/README needs to be updated? It only mentions three digits, but lists the template as tNNNN)

However, merge-tree has a function similar to diff (it shows differences between trees) and apply (it creates the "result" object when there are no conflicts), and its purpose seems to be more of a "shower" than a "do-er" (contrasted with something like git-merge, which actually creates a commit object, for example), so I thought that diff-commands would be a good classification.

If you can tell me what number it should be, I'll change it.
-- 
-- Will
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 6 in “[PATCHv2 0/2] merge-tree: fix (merge-base a b) b a”
  1. Will PalmerJul 11, 2010
  2. 1/2 add basic tests for merge-treeWill Palmer, Jul 11, 2010
  3. Junio C HamanoJul 13, 2010
  4. Will PalmerJul 14, 2010
  5. Junio C HamanoJul 14, 2010
  6. 2/2 fix merge-tree where two branches share no changesWill Palmer, Jul 11, 2010

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.