Re: [PATCH] tools/resolve_btfids: Add libsubcmd to .gitignore

From: Daniel Borkmann
Date: Thu Mar 16 2023 - 17:11:29 EST


On 3/15/23 6:49 AM, Greg Thelen wrote:
After building the kernel I see:
$ git status -s
?? tools/bpf/resolve_btfids/libbpf/

Commit af03299d8536 ("tools/resolve_btfids: Install subcmd headers")
started copying header files into
tools/bpf/resolve_btfids/libsubcmd/include/subcmd. These *.h files are
not covered by higher level wildcard gitignores.

gitignore the entire libsubcmd directory. It's created as part of build
and removed by clean.

Fixes: af03299d8536 ("tools/resolve_btfids: Install subcmd headers")
Signed-off-by: Greg Thelen <gthelen@xxxxxxxxxx>

Already fixed in bpf-next by:

commit fd4cb29f2a3d54ec7b4e012300321601af10bd68
Author: Rong Tao <rongtao@xxxxxxxx>
Date: Sat Mar 4 23:17:04 2023 +0800

tools/resolve_btfids: Add /libsubcmd to .gitignore

Thanks,
Daniel