summaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-12-17 11:10:25 -0800
committerVicent Martí <vicent@github.com>2012-12-17 11:10:25 -0800
commite62171e2fc1b101512a7e86f6d990a38b78ed12b (patch)
tree8b3bc83ff2ad15ec3f1c88589482b839ef9414c3 /src/diff.c
parent0d10e79dd9b4c5dee72066526a6a3c99e19c545b (diff)
parentba084f7aaf431f96588b13551ebfdffdd3eb44dc (diff)
downloadlibgit2-e62171e2fc1b101512a7e86f6d990a38b78ed12b.tar.gz
Merge pull request #1151 from arrbee/fix-diff-constructor-names
Fix diff constructor names
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diff.c b/src/diff.c
index 822ae5b09..9c0b45f8e 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -784,7 +784,7 @@ int git_diff_tree_to_tree(
return error;
}
-int git_diff_index_to_tree(
+int git_diff_tree_to_index(
git_diff_list **diff,
git_repository *repo,
git_tree *old_tree,
@@ -806,7 +806,7 @@ int git_diff_index_to_tree(
return error;
}
-int git_diff_workdir_to_index(
+int git_diff_index_to_workdir(
git_diff_list **diff,
git_repository *repo,
git_index *index,
@@ -828,7 +828,7 @@ int git_diff_workdir_to_index(
}
-int git_diff_workdir_to_tree(
+int git_diff_tree_to_workdir(
git_diff_list **diff,
git_repository *repo,
git_tree *old_tree,