summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-01-25 21:52:24 +0100
committerVicent Marti <tanoku@gmail.com>2011-01-29 03:29:33 +0200
commit2e6fd09c5d473b3d157aa457ccc82424406e63e1 (patch)
tree2af5ea23f051c3cebf1cc20c41c319212644377f /src/fileops.c
parenteb2f3b47904e2fa9e3dbda975d26647a4f7a227f (diff)
downloadlibgit2-2e6fd09c5d473b3d157aa457ccc82424406e63e1.tar.gz
Fixed naming convention related issue.
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileops.c b/src/fileops.c
index d23246de6..c2668c5ab 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -391,7 +391,7 @@ static int retrieve_previous_path_component_start(const char *path)
return offset;
}
-int git_prettify_dir_path(char *buffer_out, const char *path)
+int gitfo_prettify_dir_path(char *buffer_out, const char *path)
{
int len = 0, segment_len, only_dots;
char *current;
@@ -457,7 +457,7 @@ int git_prettify_dir_path(char *buffer_out, const char *path)
return GIT_SUCCESS;
}
-int git_prettify_file_path(char *buffer_out, const char *path)
+int gitfo_prettify_file_path(char *buffer_out, const char *path)
{
int error, path_len, i;
const char* pattern = "/..";
@@ -470,7 +470,7 @@ int git_prettify_file_path(char *buffer_out, const char *path)
return GIT_ERROR;
}
- error = git_prettify_dir_path(buffer_out, path);
+ error = gitfo_prettify_dir_path(buffer_out, path);
if (error < GIT_SUCCESS)
return error;