reftable: fix formatting of the license header

The license headers used across the reftable library doesn't follow our
typical coding style for multi-line comments. Fix it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Patrick Steinhardt 2025-04-07 15:16:13 +02:00 committed by Junio C Hamano
parent c7c4e5e419
commit 6dcc05ffc3
34 changed files with 199 additions and 199 deletions

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#define REFTABLE_ALLOW_BANNED_ALLOCATORS #define REFTABLE_ALLOW_BANNED_ALLOCATORS
#include "basics.h" #include "basics.h"

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef BASICS_H #ifndef BASICS_H
#define BASICS_H #define BASICS_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "block.h" #include "block.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef BLOCK_H #ifndef BLOCK_H
#define BLOCK_H #define BLOCK_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "system.h" #include "system.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef BLOCKSOURCE_H #ifndef BLOCKSOURCE_H
#define BLOCKSOURCE_H #define BLOCKSOURCE_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef CONSTANTS_H #ifndef CONSTANTS_H
#define CONSTANTS_H #define CONSTANTS_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "system.h" #include "system.h"
#include "reftable-error.h" #include "reftable-error.h"

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "iter.h" #include "iter.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef ITER_H #ifndef ITER_H
#define ITER_H #define ITER_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "merged.h" #include "merged.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef MERGED_H #ifndef MERGED_H
#define MERGED_H #define MERGED_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "pq.h" #include "pq.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef PQ_H #ifndef PQ_H
#define PQ_H #define PQ_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "reader.h" #include "reader.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef READER_H #ifndef READER_H
#define READER_H #define READER_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


/* record.c - methods for different types of records. */ /* record.c - methods for different types of records. */



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef RECORD_H #ifndef RECORD_H
#define RECORD_H #define RECORD_H

View File

@ -4,7 +4,7 @@
* Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
* https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_BASICS_H #ifndef REFTABLE_BASICS_H
#define REFTABLE_BASICS_H #define REFTABLE_BASICS_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_BLOCKSOURCE_H #ifndef REFTABLE_BLOCKSOURCE_H
#define REFTABLE_BLOCKSOURCE_H #define REFTABLE_BLOCKSOURCE_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_ERROR_H #ifndef REFTABLE_ERROR_H
#define REFTABLE_ERROR_H #define REFTABLE_ERROR_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_ITERATOR_H #ifndef REFTABLE_ITERATOR_H
#define REFTABLE_ITERATOR_H #define REFTABLE_ITERATOR_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_MERGED_H #ifndef REFTABLE_MERGED_H
#define REFTABLE_MERGED_H #define REFTABLE_MERGED_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_READER_H #ifndef REFTABLE_READER_H
#define REFTABLE_READER_H #define REFTABLE_READER_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_RECORD_H #ifndef REFTABLE_RECORD_H
#define REFTABLE_RECORD_H #define REFTABLE_RECORD_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_STACK_H #ifndef REFTABLE_STACK_H
#define REFTABLE_STACK_H #define REFTABLE_STACK_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef REFTABLE_WRITER_H #ifndef REFTABLE_WRITER_H
#define REFTABLE_WRITER_H #define REFTABLE_WRITER_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "stack.h" #include "stack.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef STACK_H #ifndef STACK_H
#define STACK_H #define STACK_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef SYSTEM_H #ifndef SYSTEM_H
#define SYSTEM_H #define SYSTEM_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "system.h" #include "system.h"
#include "tree.h" #include "tree.h"

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef TREE_H #ifndef TREE_H
#define TREE_H #define TREE_H

View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#include "writer.h" #include "writer.h"



View File

@ -1,10 +1,10 @@
/* /*
Copyright 2020 Google LLC * Copyright 2020 Google LLC

*
Use of this source code is governed by a BSD-style * Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at * license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd * https://developers.google.com/open-source/licenses/bsd
*/ */


#ifndef WRITER_H #ifndef WRITER_H
#define WRITER_H #define WRITER_H