Thread (2 messages) flat view 2 messages, 2 authors, 2025-09-08

Re: [PATCH v3 3/8] git: allow alias-shadowing deprecated builtins

From: Junio C Hamano <hidden>
Date: 2025-09-08 20:48:00

kristofferhaugsbakk@fastmail.com writes:
+static int is_deprecated_command(const char *cmd)
+{
+	return !strcmp(cmd, "whatchanged") ||
+	       !strcmp(cmd, "pack-redundant");
+}
This is somewhat a shame as you introduced the DEPRECATED bit to
annotate entries in "struct cmd_struct commands[]" array.  Shouldn't
this be moved to git.c and taught to consult that array instead?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help