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>

Patrick Steinhardt committed Apr 7, 2025 at 15:16 UTC 6dcc05ffc3ead0745d19decd0e8ecd65edc9d414
34 files changed +199 -199
reftable/basics.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #define REFTABLE_ALLOW_BANNED_ALLOCATORS
10 #include "basics.h"
reftable/basics.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef BASICS_H
10 #define BASICS_H
reftable/block.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "block.h"
10
reftable/block.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef BLOCK_H
10 #define BLOCK_H
reftable/blocksource.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "system.h"
10
reftable/blocksource.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef BLOCKSOURCE_H
10 #define BLOCKSOURCE_H
reftable/constants.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef CONSTANTS_H
10 #define CONSTANTS_H
reftable/error.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "system.h"
10 #include "reftable-error.h"
reftable/iter.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "iter.h"
10
reftable/iter.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef ITER_H
10 #define ITER_H
reftable/merged.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "merged.h"
10
reftable/merged.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef MERGED_H
10 #define MERGED_H
reftable/pq.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "pq.h"
10
reftable/pq.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef PQ_H
10 #define PQ_H
reftable/reader.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "reader.h"
10
reftable/reader.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef READER_H
10 #define READER_H
reftable/record.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 /* record.c - methods for different types of records. */
10
reftable/record.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef RECORD_H
10 #define RECORD_H
reftable/reftable-basics.h
+1 -1
@@ -4,7 +4,7 @@
4 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://developers.google.com/open-source/licenses/bsd
7 -*/
7 + */
8
9 #ifndef REFTABLE_BASICS_H
10 #define REFTABLE_BASICS_H
reftable/reftable-blocksource.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_BLOCKSOURCE_H
10 #define REFTABLE_BLOCKSOURCE_H
reftable/reftable-error.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_ERROR_H
10 #define REFTABLE_ERROR_H
reftable/reftable-iterator.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_ITERATOR_H
10 #define REFTABLE_ITERATOR_H
reftable/reftable-merged.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_MERGED_H
10 #define REFTABLE_MERGED_H
reftable/reftable-reader.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 - Copyright 2020 Google LLC
3 -
4 - Use of this source code is governed by a BSD-style
5 - license that can be found in the LICENSE file or at
6 - https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_READER_H
10 #define REFTABLE_READER_H
reftable/reftable-record.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_RECORD_H
10 #define REFTABLE_RECORD_H
reftable/reftable-stack.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_STACK_H
10 #define REFTABLE_STACK_H
reftable/reftable-writer.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef REFTABLE_WRITER_H
10 #define REFTABLE_WRITER_H
reftable/stack.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "stack.h"
10
reftable/stack.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef STACK_H
10 #define STACK_H
reftable/system.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef SYSTEM_H
10 #define SYSTEM_H
reftable/tree.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "system.h"
10 #include "tree.h"
reftable/tree.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef TREE_H
10 #define TREE_H
reftable/writer.c
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #include "writer.h"
10
reftable/writer.h
+6 -6
@@ -1,10 +1,10 @@
1 /*
2 -Copyright 2020 Google LLC
3 -
4 -Use of this source code is governed by a BSD-style
5 -license that can be found in the LICENSE file or at
6 -https://developers.google.com/open-source/licenses/bsd
7 -*/
2 + * Copyright 2020 Google LLC
3 + *
4 + * Use of this source code is governed by a BSD-style
5 + * license that can be found in the LICENSE file or at
6 + * https://developers.google.com/open-source/licenses/bsd
7 + */
8
9 #ifndef WRITER_H
10 #define WRITER_H