search branches which contain a blob id
- From
- Reto Glauser <linux@blinkeye.ch>
- Date
- Sep 30, 2009, 12:38 UTC
- Message-ID
- <8a906e45ab8e0252a0be11e4d4e9389e@blinkeye.ch>
To get a list of branches which contain a specific commit we use:
$ git branch --contains <commit id>
Is there a similar way to get a list of branches with respect to a specific blob (e.g. the actual code change a commit introduces)?
Obvious use-case: One isn't interested in the commit information (author, parent, date) but merely in the set of changes a commit introduces.