Commit Diff


commit - 73119b9106d98ab78deb20d3c60c3d4d80ac8688
commit + af4ba62f1a7f283b47bd5e4a43573f550347d93b
blob - e845257c2f89b568c18f692452aa7168844627b5
blob + 2cd8b6d1d4cddc412fd3c19a53a3bc6946eb43e7
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -9111,7 +9111,7 @@ cmd_info(int argc, char *argv[])
 	printf("work tree format version: %d\n",
 	    got_worktree_get_format_version(worktree));
 	printf("file index version: %u\n",
-	    got_worktree_fileindex_version(fileindex));
+	    got_worktree_get_fileindex_version(fileindex));
 	printf("repository: %s\n", got_worktree_get_repo_path(worktree));
 
 	if (show_files) {
blob - 98f2a80a699255349e7df2084f6196ddce1d4d10
blob + 1b8d7b9faec0701a72cad188cf7b659ab0a0ab93
--- got/got.c
+++ got/got.c
@@ -14708,7 +14708,7 @@ cmd_info(int argc, char *argv[])
 	printf("work tree format version: %d\n",
 	    got_worktree_get_format_version(worktree));
 	printf("file index version: %u\n",
-	    got_worktree_fileindex_version(fileindex));
+	    got_worktree_get_fileindex_version(fileindex));
 	printf("repository: %s\n", got_worktree_get_repo_path(worktree));
 
 	if (show_files) {
blob - 746372d5909f4e6c88f43542fc445638af1b4f4a
blob + b64451095294474244135e83c0947ddcc71fdb8a
--- include/got_worktree.h
+++ include/got_worktree.h
@@ -596,7 +596,7 @@ got_worktree_prepare_path_info(struct got_fileindex **
  * Get the file-index version.
  */
 uint32_t
-got_worktree_fileindex_version(struct got_fileindex *);
+got_worktree_get_fileindex_version(struct got_fileindex *);
 
 /* A callback function which is invoked with per-path info. */
 typedef const struct got_error *(*got_worktree_path_info_cb)(void *,
blob - 952bcd8c0a6e345b6480c5ab5354064b59b538d2
blob + 53f5a16a4bf6d297aeddeb59bb153845fc6485b3
--- lib/worktree.c
+++ lib/worktree.c
@@ -10027,7 +10027,7 @@ got_worktree_prepare_path_info(struct got_fileindex **
 }
 
 uint32_t
-got_worktree_fileindex_version(struct got_fileindex *fileindex)
+got_worktree_get_fileindex_version(struct got_fileindex *fileindex)
 {
 	return got_fileindex_version(fileindex);
 }