From d2b4c7dd124f96fbf7b788a7895677698fc5694c Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 16 Jan 2023 13:40:48 +0100
Subject: [PATCH] sigpipe tests: Modernize use of 'head'.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

POSIX no longer requires support for ‘head -1’.

* tests/test-sigpipe.sh: Use ‘head -n1’ rather than ‘head -1’.
* tests/test-sigpipe.c (main): Likewise.
* lib/git-merge-changelog.c (main): Update comment accordingly.
---
 ChangeLog | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4755f19360..9bc953423f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+	sigpipe tests: Modernize use of 'head'.
+	POSIX no longer requires support for ‘head -1’.
+	* tests/test-sigpipe.sh: Use ‘head -n1’ rather than ‘head -1’.
+	* tests/test-sigpipe.c (main): Likewise.
+	* lib/git-merge-changelog.c (main): Update comment accordingly.
+
 2023-01-15  Paul Eggert  <eggert@cs.ucla.edu>
 
 	alignasof: new module
-- 
2.39.5