XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
20 stars 32 forks source link

Hint unstaged repo as well for `print_versions` #1288

Closed dachengx closed 10 months ago

dachengx commented 10 months ago

What does the code in this PR do / what does it improve?

Sometimes we accidentally or by purpose change the code without a trackable commit. This PR print + unstaged if there is uncommitted changes.

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

coveralls commented 10 months ago

Coverage Status

coverage: 92.663% (-0.006%) from 92.669% when pulling acd13b80ad5db6ec9db5e0f08923cf9af6baca6d on print_unstaged_version into 448292ae40c1f5e1f7c3af0630b1343f0d4e4bf4 on master.

WenzDaniel commented 10 months ago

Can you give me an example how one can make an untraceable change?

dachengx commented 10 months ago

Can you give me an example how one can make an untraceable change?

Sometimes when developing, people might change some code. This PR will help them and others to remember that the result might not be reproducible.