sewenew / redis-plus-plus

Redis client written in C++
Apache License 2.0
1.64k stars 351 forks source link

[BUG] Generated file appears as git untracked file when redis++ submoduled under another project #602

Closed d4vebr4cey closed 1 month ago

d4vebr4cey commented 1 month ago

When redis++ is submoduled under another project and compiled, the generated file:

src/sw/redis++/hiredis_features.h

is detected by git as a new untracked file.

Can this be added to the .gitignore for redis++ please? It seems it must be added at the redis++ .gitignore level (adding it to higher level .gitignore does not fix it).

sewenew commented 1 month ago

It seems that you're using an old version (older than 1.3.8) of redis-plus-plus. The latest version generates hiredis_features.h in compile directory not the source code directory.

You can upgrade to the latest version, and check if the problem has been solved.

Regards

d4vebr4cey commented 1 month ago

Confirm latest version does not have this issue