Skip to content

Conversation

@hageboeck
Copy link
Member

@hageboeck hageboeck commented Jan 14, 2026

This takes a few RooFit-related commits out of #18083.

Note:

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comment

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Test Results

    22 files      22 suites   3d 17h 15m 32s ⏱️
 3 813 tests  3 812 ✅ 0 💤 1 ❌
76 751 runs  76 750 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit fb698474.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

When calling TDirectory::Append(obj, replace=true), and obj is already
in the directory, don't issue a warning. Proceed to clear the list of any
duplicates, issuing a warning for each.

This will enable workflows such as:
   auto h = new TH1D(...);
   directory->Append(h, true);

After this change, the above lines work both with implicit object
ownership off and on.
Also add an assertion to stop the test when executed in the wrong
directory. Previously, the test would crash.
@hageboeck hageboeck added the clean build Ask CI to do non-incremental build on PR label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants