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

t7610-mergetool.sh -q isn't quiet

From
Brian Gernhardt <brian@gernhardtsoftware.com>
Date
Aug 20, 2010, 06:50 UTC
Message-ID
<E395511F-ACF9-4390-A081-4AC4C072C7CC@gernhardtsoftware.com>
I'm just posting this to the list because I should really already be in bed...
Running t7610-mergetool with -q isn't quiet.  This is also noticeable when running the full test suite in a TAP harness (e.g. prove).
$ ./t7610-mergetool.sh -q
Normal merge conflict for 'file1':
  {local}: modified
  {remote}: modified
Normal merge conflict for 'file2':
  {local}: created
  {remote}: created
Normal merge conflict for 'subdir/file3':
  {local}: modified
  {remote}: modified
# passed all 7 test(s)
1..7
All the output seems to be from the last test.
Also, some of the test style seems odd.  For example:
test_expect_success 'mergetool on file in parent dir' '
    cd subdir && (
    ( yes "" | git mergetool ../file1 >/dev/null 2>&1 ) &&
    ( yes "" | git mergetool ../file2 >/dev/null 2>&1 ) &&
    test "$(cat ../file1)" = "master updated" &&
    test "$(cat ../file2)" = "master new" &&
    git commit -m "branch1 resolved with mergetool - subdir") &&
    cd ..
'
Shouldn't that just be :
    (
     cd subdir &&
     yadda &&
     yadda
    )
If nobody else gets to it, hopefully I'll find time tomorrow.  If not, I should get a fresh supply of tuits over the weekend.
~~ Brian
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “t7610-mergetool.sh -q isn't quiet”
  1. Brian GernhardtAug 20, 2010
  2. Ævar Arnfjörð BjarmasonAug 20, 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.