From: Ivan Chernyavsky Date: Sat, 22 Aug 2015 10:32:35 GMT Subject: Re: Which branch(es) contain certain commits? (was Re: (unknown)) Message-ID: <1097541440239555@web20h.yandex.ru> In-Reply-To: <2689531440235153@web22m.yandex.ru> 22.08.2015, 12:19, "Ivan Chernyavsky" : >   One thing I'm worried about is that git-branch already has option --all. So we'll get a semantics conflict with setup_revisions() ("all branches" vs "all refs"). This will have to be treated carefully, e.g. retrace and fix effects of --all after setup_revisions() to include just branches but not other refs. Will such mangling be ok? Or could I prepare the call of setup_revisions() in a way that only branches will be included by --all? Anyway the semantics of --all will be different for git-branch and git-rev-list, but I believe more important is to keep it unchanged for git-branch. > Please disregard this part. I should just gobble --all with the existing parse_options() and do not provide it to setup_revisions() altogether. -- Ivan