From: Junio C Hamano Date: Wed, 13 Sep 2023 00:34:23 GMT Subject: Re: [PATCH v2 2/2] completion: commit: complete trailers tokens more robustly Message-ID: In-Reply-To: <9cb33c20294e096f5345fb1ea9d80a23e899ae6f.1694539827.git.gitgitgadget@gmail.com> "Philippe Blain via GitGitGadget" writes: > From: Philippe Blain > > In the previous commit, we added support for completing configured > trailer tokens in 'git commit --trailer'. > > Make the implementation more robust by: > > - using '__git' instead of plain 'git', as the rest of the completion > script does > - using a stricter pattern for --get-regexp to avoid false hits > - using 'cut' and 'rev' instead of 'awk' to account for tokens including > dots. > > Signed-off-by: Philippe Blain > --- Thanks, both, for a quick fix. Queued.