X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=ll-merge.c;h=da59738c9b787ae082ad062a91345a60628e704a;hb=19a6cd372a998df3079d870e02c064c5bb101841;hp=6ce512efc4cce8042481e8a6947d033c272e78e6;hpb=6d1cdadbeeb03f40250526e29b1f1a91582911d8;p=git.git diff --git a/ll-merge.c b/ll-merge.c index 6ce512efc..da59738c9 100644 --- a/ll-merge.c +++ b/ll-merge.c @@ -330,7 +330,7 @@ static int git_path_check_merge(const char *path, struct git_attr_check check[2] check[0].attr = git_attr("merge"); check[1].attr = git_attr("conflict-marker-size"); } - return git_checkattr(path, 2, check); + return git_check_attr(path, 2, check); } static void normalize_file(mmfile_t *mm, const char *path) @@ -387,7 +387,7 @@ int ll_merge_marker_size(const char *path) if (!check.attr) check.attr = git_attr("conflict-marker-size"); - if (!git_checkattr(path, 1, &check) && check.value) { + if (!git_check_attr(path, 1, &check) && check.value) { marker_size = atoi(check.value); if (marker_size <= 0) marker_size = DEFAULT_CONFLICT_MARKER_SIZE;