Sverre Rabbelier <srabbelier@xxxxxxxxx> writes: > On Mon, Sep 6, 2010 at 15:53, Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> wrote: >> On Mon, Sep 6, 2010 at 20:45, Sverre Rabbelier <srabbelier@xxxxxxxxx> wrote: >>> In case anyone else is wondering, '--with' is a hidden alias for '--contains'. >> >> Maybe it should be documented? > > Junio added it that way back in "git-branch --contains=commit" > v1.5.3.6-879-g694a577 (Nov 7 2007) when the feature was added. Junio, > do you remember why you added "--with" as a hidden alias? It was originally called --with. I wrote it to help me in the exact use case in this thread, and the option was naturally named --with, as the request I wanted to make was "Give me branches _with_ this commit, so that I know which ones I need to rewind before reintegrating and publishing". Somehow people wanted to see an option with a longer name, but by that time my fingers were well trained, so I kept "--with" but didn't bother advertising duplicated options. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html