-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: Requires cleanup and preparing for the mailing list. Bloom Filters #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
derrickstolee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got some comments for you.
t/t4215-log-bloom.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead, focus on comparing the output from git log with and without the commit-graph using -c core.commitGraph=false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(i.e. drop this part, and I'll comment later about what to do.)
t/t4215-log-bloom.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for file in file1 file2 file3
do
git log --oneline -- $file >actual &&
git -c core.commitGraph=false log --oneline -- $file >expect &&
test_cmp expect actual
done
…hanged paths between a commit and its first interesting parent
245b2ae to
7179fb3
Compare
|
|
||
| static inline uint64_t get_bitmask(uint32_t pos) | ||
| { | ||
| return 1UL << (pos & (BITS_PER_BLOCK - 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This 1UL bothers me for a ui64 return type. On a 32-bit machine, this doesn't work as expected, since UL is 32 bits.
I'd suggest something like return ((uint64_t)1) << (pos & (BITS_PER_BLOCK - 1)); or maybe
uint64_t v = 1;
return v << (pos & (BITS_PER_BLOCK - 1));
and avoid the UL vs ULL mess.
status: deserialization wait
Thanks for taking the time to contribute to Git!
Those seeking to contribute to the Git for Windows fork should see
http://gitforwindows.org/#contribute on how to contribute Windows specific
enhancements.
If your contribution is for the core Git functions and documentation
please be aware that the Git community does not use the github.com issues
or pull request mechanism for their contributions.
Instead, we use the Git mailing list (git@vger.kernel.org) for code and
documenatation submissions, code reviews, and bug reports. The
mailing list is plain text only (anything with HTML is sent directly
to the spam folder).
Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.
Please read the "guidelines for contributing" linked above!