commit e8ba7a70178750a429c18d995200569087c30756
parent 138291aa75163baf132c6c5fc27461cc2672d89a
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 24 May 2022 13:34:59 +0200
parent 138291aa75163baf132c6c5fc27461cc2672d89a
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 24 May 2022 13:34:59 +0200
rename: writeblob -> writeblobpage
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c @@ -941,7 +941,7 @@ writeblobraw(const git_blob *blob, const char *fpath, const char *filename, git_ } size_t -writeblob(git_object *obj, const char *fpath, const char *rpath, const char *filepath, const char *filename, size_t filesize) +writeblobpage(git_object *obj, const char *fpath, const char *rpath, const char *filepath, const char *filename, size_t filesize) { char tmp[PATH_MAX] = ""; const char *p, *oldrelpath; @@ -1108,7 +1108,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *path) case GIT_OBJ_BLOB: is_obj_tree = 0; filesize = git_blob_rawsize((git_blob *)obj); - lc = writeblob(obj, filepath, rawpath, entrypath, entryname, filesize); + lc = writeblobpage(obj, filepath, rawpath, entrypath, entryname, filesize); writeblobraw((git_blob *)obj, rawpath, entryname, filesize); break; case GIT_OBJ_TREE: