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

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

From: Junio C Hamano <hidden>
Date: 2025-09-08 21:55:35

Jeff King [off-list ref] writes:
cmd_struct were not the right spots. OTOH, it would probably not be that
hard to just do:

  static int is_deprecated_command(const char *cmd)
  {
	struct cmd_struct *builtin = get_builtin(cmd);
	return builtin && (builtin->flags & DEPRECATED);

  }
That was exactly what I had in mind.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help