Commit Diff


commit - fc231b0cbd4f9b7b4821015419df075df8f074d4
commit + 0c4ad42c0a906040e1d0b12ad3f08287006529e5
blob - 3b32e1127b6c1c87cb2e020aa833bb4ee6e786d7
blob + 37f4fd2b2aee68b24c607b90680c2cd1fd58ba6e
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -9086,7 +9086,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 - d404dbf3a22d40190248e6851841f6e3311cbdbb
blob + bc519a2de8b98e7d5837b3ad4f2223319188ae87
--- got/got.c
+++ got/got.c
@@ -14684,7 +14684,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 - e7c1581010362a4731ab5cf5b603663f3282aac3
blob + 66eeb4616f118b7eb6f6efe9724d0bc49cb3f838
--- lib/worktree.c
+++ lib/worktree.c
@@ -10007,7 +10007,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;