You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.gitignore files are too aggressive in 2.6.12 #1058
When using thirdparty tools in our system, my company will commit the third party source code so that the tool can built and distributed easily across various systems. We also use git for version control. When committing the redis 2.6.12 source to our repository, I noticed that a few of the files required for building redis and jemalloc were being ignored in the main .gitignore and deps/jemalloc/.gitignore.
I believe that the offending lines in .gitignore are:
redis-*
release.h
*.rdb
Second, in deps/jemalloc/.gitignore, the following files were being ignored:
deps/jemalloc/VERSION
deps/jemalloc/configure
deps/jemalloc/doc/jemalloc.3
deps/jemalloc/doc/jemalloc.html
deps/jemalloc/test/jemalloc_test.h.in
I believe that the offending lines in deps/jemalloc/.gitignore are:
/configure
doc/jemalloc.html
/doc/jemalloc.3
/test/jemalloc_test.h
/VERSION
I understand that this practice of committing the source code of third-party tools may not be the norm, but it would be nice to fix the .gitignores tonot ignore files that are already committed/part of the tarball (as .gitignore has no effect on files that are already being tracked).
Activity
antirez commentedon Apr 18, 2013
Hello, there was a problem indeed... Thanks, now it's fixed in all branches.
However I did all the edits you suggested, but
release.has it is automatically generated by Redis every time you try to build it.antirez commentedon Apr 18, 2013
p.s. thank you for reporting this. Closing, but feel free to comment more here if there is something still wrong.
jperla commentedon Apr 16, 2014
@antirez I found another problem with these rules (dating back to 2.6.17 too). It seems to ignore deps/jemalloc/test/jemalloc_test.h.in .
The fix is to add the following line to deps/jemalloc/.gitignore:
!test/*.h.in
@rrueth did your company hit this as well?
Squashed 'deps/hiredis/' changes from f8de9a4bd..b6a052fe0