Commit Diff


commit - ce725b8f7be2659fcbebc5ec00062bac1ca85d29
commit + 232556d55e4212db6ceba21158a3acce25c77706
blob - 2cd8b6d1d4cddc412fd3c19a53a3bc6946eb43e7
blob + 2aaaecc2e9d45cd6eb0bba01deb76049d231c968
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -9088,7 +9088,7 @@ cmd_info(int argc, char *argv[])
 		show_files = 1;
 	}
 
-	error = got_worktree_prepare_path_info(&fileindex, worktree, repo);
+	error = got_worktree_path_info_prepare(&fileindex, worktree, repo);
 	if (error)
 		goto done;
 
blob - 1b8d7b9faec0701a72cad188cf7b659ab0a0ab93
blob + 1817e3e5ed30160e539643b9331c2c8515ecdd4a
--- got/got.c
+++ got/got.c
@@ -14685,7 +14685,7 @@ cmd_info(int argc, char *argv[])
 		show_files = 1;
 	}
 
-	error = got_worktree_prepare_path_info(&fileindex, worktree, repo);
+	error = got_worktree_path_info_prepare(&fileindex, worktree, repo);
 	if (error)
 		goto done;
 
blob - b3efb7a1754e389658c138d5f0b67b755f923bf8
blob + 91bfba2775bd8f47a9c55f66b6815495fbc53d7b
--- include/got_worktree.h
+++ include/got_worktree.h
@@ -589,7 +589,7 @@ const struct got_error *got_worktree_unstage(struct go
  * back to other path_info-related functions and *_version() functions.
  */
 const struct got_error *
-got_worktree_prepare_path_info(struct got_fileindex **,
+got_worktree_path_info_prepare(struct got_fileindex **,
     struct got_worktree *, struct got_repository *);
 
 /*
blob - d77591144bbc72cce50b033ae51afa7a8c5cfb6b
blob + 6f1ab86e6bb284e7bd1520334604392068bf8022
--- lib/worktree.c
+++ lib/worktree.c
@@ -10010,7 +10010,7 @@ report_file_info(void *arg, struct got_fileindex_entry
 }
 
 const struct got_error *
-got_worktree_prepare_path_info(struct got_fileindex **fileindex,
+got_worktree_path_info_prepare(struct got_fileindex **fileindex,
     struct got_worktree *worktree, struct got_repository *repo)
 {
 	const struct got_error *err;