summaryrefslogtreecommitdiff
path: root/src/diff_output.c
diff options
context:
space:
mode:
authorAuthmillenon <martin@ucsmail.de>2012-03-06 17:51:04 +0100
committerAuthmillenon <martin@ucsmail.de>2012-03-06 17:51:04 +0100
commit5621d8097d48aac3ff5744c4d74115139db30a43 (patch)
treef7e044e844d9860195b5e2af6df044905947a37a /src/diff_output.c
parent864ac49e317dc8dfd683a1017c05584bd7a8864c (diff)
downloadlibgit2-5621d8097d48aac3ff5744c4d74115139db30a43.tar.gz
Rename git_oid_to_string to git_oid_tostr
To conform the naming scheme of git_oid_fromstr we should change the name of git_oid_to_string to git_oid_tostr.
Diffstat (limited to 'src/diff_output.c')
-rw-r--r--src/diff_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_output.c b/src/diff_output.c
index 2c6bacc81..d5286ed68 100644
--- a/src/diff_output.c
+++ b/src/diff_output.c
@@ -532,8 +532,8 @@ static int print_oid_range(diff_print_info *pi, git_diff_delta *delta)
char start_oid[8], end_oid[8];
/* TODO: Determine a good actual OID range to print */
- git_oid_to_string(start_oid, sizeof(start_oid), &delta->old_file.oid);
- git_oid_to_string(end_oid, sizeof(end_oid), &delta->new_file.oid);
+ git_oid_tostr(start_oid, sizeof(start_oid), &delta->old_file.oid);
+ git_oid_tostr(end_oid, sizeof(end_oid), &delta->new_file.oid);
/* TODO: Match git diff more closely */
if (delta->old_file.mode == delta->new_file.mode) {