diff options
author | Authmillenon <martin@ucsmail.de> | 2012-03-06 17:51:04 +0100 |
---|---|---|
committer | Authmillenon <martin@ucsmail.de> | 2012-03-06 17:51:04 +0100 |
commit | 5621d8097d48aac3ff5744c4d74115139db30a43 (patch) | |
tree | f7e044e844d9860195b5e2af6df044905947a37a /src/diff_output.c | |
parent | 864ac49e317dc8dfd683a1017c05584bd7a8864c (diff) | |
download | libgit2-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.c | 4 |
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) { |