Commit d99e5471 by Jakub Čajka Committed by Jacques Germishuys

Fixed merge REUC test for big-endian 64-bit

parent ff97778a
...@@ -327,7 +327,7 @@ int merge_test_reuc(git_index *index, const struct merge_reuc_entry expected[], ...@@ -327,7 +327,7 @@ int merge_test_reuc(git_index *index, const struct merge_reuc_entry expected[],
int dircount(void *payload, git_buf *pathbuf) int dircount(void *payload, git_buf *pathbuf)
{ {
int *entries = payload; size_t *entries = payload;
size_t len = git_buf_len(pathbuf); size_t len = git_buf_len(pathbuf);
if (len < 5 || strcmp(pathbuf->ptr + (git_buf_len(pathbuf) - 5), "/.git") != 0) if (len < 5 || strcmp(pathbuf->ptr + (git_buf_len(pathbuf) - 5), "/.git") != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment