aboutsummaryrefslogtreecommitdiff
path: root/builtin/merge-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-11 18:34:24 -0800
committerJunio C Hamano <gitster@pobox.com>2013-01-11 18:34:24 -0800
commitc566ea13fd25be8a7c20bdf3644d1ebe3f65b690 (patch)
tree90662464e689e56c23333d0041cdce7974e16a77 /builtin/merge-index.c
parent98294e9875c05cdf2d4f16d446cb89ba6d41014a (diff)
parent35ffe7583108ab236dcf81226690388491d9962f (diff)
downloadgit-c566ea13fd25be8a7c20bdf3644d1ebe3f65b690.tar.gz
git-c566ea13fd25be8a7c20bdf3644d1ebe3f65b690.tar.xz
Merge branch 'jc/merge-blobs'
Update the disused merge-tree proof-of-concept code. * jc/merge-blobs: merge-tree: fix d/f conflicts merge-tree: add comments to clarify what these functions are doing merge-tree: lose unused "resolve_directories" merge-tree: lose unused "flags" from merge_list Which merge_file() function do you mean?
Diffstat (limited to 'builtin/merge-index.c')
-rw-r--r--builtin/merge-index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/merge-index.c b/builtin/merge-index.c
index 233883258..be5e51432 100644
--- a/builtin/merge-index.c
+++ b/builtin/merge-index.c
@@ -42,7 +42,7 @@ static int merge_entry(int pos, const char *path)
return found;
}
-static void merge_file(const char *path)
+static void merge_one_path(const char *path)
{
int pos = cache_name_pos(path, strlen(path));
@@ -102,7 +102,7 @@ int cmd_merge_index(int argc, const char **argv, const char *prefix)
}
die("git merge-index: unknown option %s", arg);
}
- merge_file(arg);
+ merge_one_path(arg);
}
if (err && !quiet)
die("merge program failed");