This commit is contained in:
Russell Belfer 2014-03-31 13:31:01 -07:00
parent c856f8c503
commit 7dcd42a55f
3 changed files with 4 additions and 4 deletions

View File

@ -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 { \

View File

@ -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);

View File

@ -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(