git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GSoC PATCH] revision: remove log_reencode field from rev_info
@ 2025-04-14 15:14 Lucas Seiki Oshiro
  2025-04-16  8:54 ` Patrick Steinhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Lucas Seiki Oshiro @ 2025-04-14 15:14 UTC (permalink / raw)
  To: git; +Cc: Lucas Seiki Oshiro

Remove the log_reencode field from struct rev-info, as it is not used.

Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
---

Just a simple cleanup patch removing this unused field.

When I was working in a previous patchset (this:
https://lore.kernel.org/git/20250303220029.10716-1-lucasseikioshiro@gmail.com/)
I noticed that this field wasn't used anywhere in the code.

I also saw that it hasn't been used since it's introduction in 2006, in
commit 52883fb.

 revision.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/revision.h b/revision.h
index 71e984c452..87f8d798c2 100644
--- a/revision.h
+++ b/revision.h
@@ -292,7 +292,6 @@ struct rev_info {
 	struct string_list *ref_message_ids;
 	int		add_signoff;
 	const char	*extra_headers;
-	const char	*log_reencode;
 	const char	*subject_prefix;
 	int		patch_name_max;
 	int		no_inline;
-- 
2.39.5 (Apple Git-154)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-16 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-14 15:14 [GSoC PATCH] revision: remove log_reencode field from rev_info Lucas Seiki Oshiro
2025-04-16  8:54 ` Patrick Steinhardt
2025-04-16 16:02   ` Lucas Seiki Oshiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).