How to find closest tag when using git-bisect?

Carlo Caione carlo at caione.org
Thu Sep 8 07:36:51 EDT 2016


On Thu, Sep 8, 2016 at 12:56 PM, Louie Lu <louie.lu at hopebaytech.com> wrote:
> Hi everyone,
>
> I'm trying to git-bisect for debugging, but how can I find the tag I need?
>
> for example, I'm find the file change at maybe commit
> fc2bd799c7c79c84a59da6f9221370bc6f38c503, how to find the closest tag
> for this commit?

This is literally the first link you get on google when searching for
"closest tag for this commit"

https://git-scm.com/docs/git-describe

> and a anther question is, is every bisect need to recopmile all kernel
> code by `make`? or just need to build the thing I need?

Question is not clear. You need to recompile at each step.

-- 
Carlo Caione



More information about the Kernelnewbies mailing list