Commit 7dcd42a5 by Russell Belfer

Cleanups

parent c856f8c5
......@@ -10,7 +10,7 @@
#include "index.h"
#include "ignore.h"
#include "buffer.h"
#include "git2/submodule.h"
#include "submodule.h"
#include <ctype.h>
#define ITERATOR_SET_CB(P,NAME_LC) do { \
......
......@@ -117,7 +117,7 @@ static int git_merge_file__from_inputs(
memset(out, 0x0, sizeof(git_merge_file_result));
merge_file_normalize_opts(&options, given_opts);
merge_file_normalize_opts(&options, given_opts);
memset(&xmparam, 0x0, sizeof(xmparam_t));
......@@ -165,7 +165,7 @@ static int git_merge_file__from_inputs(
}
out->automergeable = (xdl_result == 0);
out->ptr = (unsigned char *)mmbuffer.ptr;
out->ptr = (const char *)mmbuffer.ptr;
out->len = mmbuffer.size;
out->mode = merge_file_best_mode(ancestor, ours, theirs);
......
......@@ -120,7 +120,7 @@ enum {
((S) & ~(0xFFFFFFFFu << 20))
/* Internal submodule check does not attempt to refresh cached data */
bool git_submodule__is_submodule(git_repository *repo, const char *name);
extern bool git_submodule__is_submodule(git_repository *repo, const char *name);
/* Internal status fn returns status and optionally the various OIDs */
extern int git_submodule__status(
......
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