Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reuse deletes more than just old copyright information #577

Closed
jonasstein opened this issue Aug 24, 2022 · 1 comment
Closed

reuse deletes more than just old copyright information #577

jonasstein opened this issue Aug 24, 2022 · 1 comment

Comments

@jonasstein
Copy link

The catch2 testing framework uses:

/*
 *  Catch v2.13.9
 *  Generated: 2022-04-12 22:37:23.260201
 *  ----------------------------------------------------------
 *  This file has been merged from multiple headers. Please don't edit it directly
 *  Copyright (c) 2022 Two Blue Cubes Ltd. All rights reserved.
 *
 *  Distributed under the Boost Software License, Version 1.0. (See accompanying
 *  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 */
#ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
// start catch.hpp

reuse addheader --copyright="Two Blue Cubes Ltd. All rights reserved." --license=BSL-1.0 --year=2022 catch.hpp

changes this to

// Copyright (c) 2022 Two Blue Cubes Ltd. All rights reserved.
// SPDX-FileCopyrightText: 2022 Two Blue Cubes Ltd. All rights reserved.
//
// SPDX-License-Identifier: BSL-1.0

#ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
// start catch.hpp

and deleted too much.

Perhaps related to: #560

@mxmehl
Copy link
Member

mxmehl commented Aug 24, 2022

It's rather related to #550 and a duplicate of #338. It's known and it's likely to be possible to circumvent this in the next release :)

@mxmehl mxmehl closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants