Skip to content

Commit 03e2b59

Browse files
committed
Fix copyright years and remove inaccurate scanner test documentation
- Update copyright year from 2024 to 2025 in all new scanner-related files: - src/ls.c, src/patch_scanner.c, src/patch_scanner.h - src/scanner_debug.c, tests/scanner/test_basic.c - Remove tests/scanner/README.md which incorrectly claimed most scanner functionality was "TODO" when it's actually fully implemented with comprehensive test coverage including: - Complete unified/context diff parsing - Full Git extended header support - Binary patch handling and error conditions - Line number tracking and edge case handling The scanner implementation is mature and well-tested, making the outdated documentation misleading for developers. Assisted-by: Cursor
1 parent 7be3e62 commit 03e2b59

File tree

7 files changed

+6
-67
lines changed

7 files changed

+6
-67
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ endif
560560
EXTRA_DIST = $(man_MANS) \
561561
tests/common.sh tests/soak-test \
562562
$(TESTS) $(XFAIL_TESTS) \
563-
tests/scanner/test_basic.c tests/scanner/test_accumulated_headers.c tests/scanner/test_input_validation.c tests/scanner/README.md \
563+
tests/scanner/test_basic.c tests/scanner/test_accumulated_headers.c tests/scanner/test_input_validation.c \
564564
src/patch_scanner.c src/patch_scanner.h \
565565
README.md BUGS COPYING TODO ChangeLog \
566566
bootstrap \

src/ls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* lsdiff - list files modified by a patch
3-
* Copyright (C) 2024 Tim Waugh <twaugh@redhat.com>
3+
* Copyright (C) 2025 Tim Waugh <twaugh@redhat.com>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/patch_scanner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* patch_scanner.c - patch parsing implementation
3-
* Copyright (C) 2024 Tim Waugh <twaugh@redhat.com>
3+
* Copyright (C) 2025 Tim Waugh <twaugh@redhat.com>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/patch_scanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* patch_scanner.h - patch parsing API
3-
* Copyright (C) 2024 Tim Waugh <twaugh@redhat.com>
3+
* Copyright (C) 2025 Tim Waugh <twaugh@redhat.com>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/scanner_debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* scanner_debug.c - patch scanner debugging utility
3-
* Copyright (C) 2024 Tim Waugh <twaugh@redhat.com>
3+
* Copyright (C) 2025 Tim Waugh <twaugh@redhat.com>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

tests/scanner/README.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

tests/scanner/test_basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* test_basic.c - basic patch scanner tests
3-
* Copyright (C) 2024 Tim Waugh <twaugh@redhat.com>
3+
* Copyright (C) 2025 Tim Waugh <twaugh@redhat.com>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)