Date: Mon, 15 Apr 2024 17:55:26 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3f115b864b1f - main - git/mfc-candidates.sh: allow comments in exclude file Message-ID: <202404151755.43FHtQtV058292@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3f115b864b1fba951ce60970b5febb4e593b1f77 commit 3f115b864b1fba951ce60970b5febb4e593b1f77 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2023-11-28 19:09:07 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2024-04-15 17:54:42 +0000 git/mfc-candidates.sh: allow comments in exclude file As branches ages, the list of unmerged or unmergable changes may grow longer. In some cases it is helpful to group and or annotate them in an exclude file. Filtering out lines starting with "#" allows adding comment lines to aid tracking. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42790 --- tools/tools/git/mfc-candidates.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tools/git/mfc-candidates.sh b/tools/tools/git/mfc-candidates.sh index 76ff9b4d53c6..d7fd4b5ded13 100644 --- a/tools/tools/git/mfc-candidates.sh +++ b/tools/tools/git/mfc-candidates.sh @@ -141,6 +141,9 @@ commits_to() canonicalize_hashes() { while read hash rest; do + case "${hash}" in + "#"*) continue ;; + esac if ! git show --pretty=%H --no-patch $hash; then echo "error parsing hash list" >&2 exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404151755.43FHtQtV058292>