Subject: [PATCH 2/5] git-son: register in Makefile and meson build system

From: "Evan Haque via GitGitGadget" <[email-masked]>
Date: Tue, 26 May 2026 16:47:28 +0000

From: Evan Haque <[email-masked]>

Add git-son.sh to SCRIPT_SH in the Makefile and to the scripts_sh
array in meson.build so that the script is installed alongside the
other shell-based Git commands during "make install" and meson builds.

Also add /git-son to .gitignore so that the build artifact produced
from git-son.sh is not flagged as an untracked file.

Assisted-by: Claude Opus 4.6
Signed-off-by: Evan Haque <[email-masked]>
---
 .gitignore  | 1 +
 Makefile    | 1 +
 meson.build | 1 +
 3 files changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 4da58c6754..5f329179c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -164,6 +164,7 @@
 /git-show-branch
 /git-show-index
 /git-show-ref
+/git-son
 /git-sparse-checkout
 /git-stage
 /git-stash
diff --git a/Makefile b/Makefile
index fb50c57e4f..4791f47af1 100644
--- a/Makefile
+++ b/Makefile
@@ -728,6 +728,7 @@ SCRIPT_SH += git-merge-resolve.sh
 SCRIPT_SH += git-mergetool.sh
 SCRIPT_SH += git-quiltimport.sh
 SCRIPT_SH += git-request-pull.sh
+SCRIPT_SH += git-son.sh
 SCRIPT_SH += git-submodule.sh
 SCRIPT_SH += git-web--browse.sh
 
diff --git a/meson.build b/meson.build
index 052c81f288..538bd4025f 100644
--- a/meson.build
+++ b/meson.build
@@ -1973,6 +1973,7 @@ scripts_sh = [
   'git-mergetool.sh',
   'git-quiltimport.sh',
   'git-request-pull.sh',
+  'git-son.sh',
   'git-sh-i18n.sh',
   'git-sh-setup.sh',
   'git-submodule.sh',
-- 
gitgitgadget