Reuben Thomas <[email protected]> writes:

> On Sun, 25 Jan 2026 at 03:53, Collin Funk <[email protected]> wrote:
>
>> However, I noticed that the suggestion into the manual is to use
>> 'diff -c'. I assume this was written in the CVS days, since git users
>> will be much more accustomed used to 'diff -u'.
>>
>> How about we suggest 'git format-patch' instead? For most projects which
>> use 'git' that is the common way to do things. It is nice for
>> maintainers since it preserves authorship when applying with 'git am'.
>
>
> Thanks, I like this patch. Makes sense since we're using git to use its
> tools, and I guess that will apply to most GNU projects these days. Please
> install the patch!

Yep, I figure people using another vesion control system will know a
similar command that works well there too.

Thanks for the review, I pushed it. I also pushed another patch to
ignore some generated documentation files. They can make the version
number generated by 'git-version-gen' go wonky if they aren't ignored.

Collin

>From 390c04c5bd597dc109ab11fb11f245a1b06eecec Mon Sep 17 00:00:00 2001
Message-ID: <390c04c5bd597dc109ab11fb11f245a1b06eecec.1769652398.git.collin.fu...@gmail.com>
In-Reply-To: <cfb2dccbdfbdf035e00010b29ed1120c136610c7.1769652398.git.collin.fu...@gmail.com>
References: <cfb2dccbdfbdf035e00010b29ed1120c136610c7.1769652398.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Wed, 28 Jan 2026 18:02:34 -0800
Subject: [PATCH 2/2] maint: ignore some generated documentation files

* .gitignore: Ignore the html directory created by 'make html' and the
directories made by 'make pdf ps dvi'.
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index c304674..656e3eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,9 +14,12 @@
 /configure
 /doc/*.aux
 /doc/*.dvi
+/doc/*.html
 /doc/*.info*
 /doc/*.log
 /doc/*.pdf
+/doc/*.t2d
+/doc/*.t2p
 /doc/*.toc
 /doc/hello.??
 /doc/hello.??s
-- 
2.52.0

Reply via email to