mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 15:33:51 +00:00
Cleanups
This commit is contained in:
parent
c856f8c503
commit
7dcd42a55f
@ -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 { \
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user