Re: [PATCH 3/3] send-email: teach git send-email option to translate aliases
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 9, 2024, 19:27 UTC
- Message-ID
- <xmqq7ccpcx9e.fsf@gitster.g>
- In-Reply-To
- <328fb497-d16e-4af1-a816-7b4aeb531504@intel.com>
Jacob Keller <jacob.e.keller@intel.com> writes:
> Dump aliases handled this by checking @ARGV and immediately bailing if > there were anything remaining after the call to parsing its inner > options. This works but does not work for --translate-aliases because it > needs to treat all the remaining arguments as aliases.
When GetOptions returns, shouldn't these "remaining arguments" be visible in @ARGV and you can iterate over them yourself, perhaps?