From: SZEDER Gábor Date: Mon, 07 May 2018 17:50:07 GMT Subject: Re: [PATCH v2 00/18] Add `branch-diff`, a `tbdiff` lookalike Message-ID: <20180507175007.30381-1-szeder.dev@gmail.com> In-Reply-To: > 2) Your completion commands for branch-diff will only complete one > revision range, not two. e.g. > git branch-diff origin/master..my-topic@{2} origin/master..my-top > won't complete "my-topic" as I'd expect. It does complete two revision ranges, but if you want to look at reflogs, then you must escape the opening curly brace. I'm not sure why, but apparently after the unescaped '{' Bash thinks that it's a new command, and doesn't even call our completion functions anymore. It's not specific to the completion of 'branch-diff', or even to our completion script. I don't think we can do anything about it.