Commit Diff


commit - 0d486432bb90c030ac51cbc80a2ef2d69263e98f
commit + 2b46355293364ffdc9152e59723533a465c5daff
blob - 1c7aaaaefc2d61283655a217cb662c8a496bf909
blob + 3b32e1127b6c1c87cb2e020aa833bb4ee6e786d7
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -9109,7 +9109,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 - 1b8a8ec0ecfb46325de632ebb24ebd9ade5dd4c2
blob + d404dbf3a22d40190248e6851841f6e3311cbdbb
--- got/got.c
+++ got/got.c
@@ -14707,7 +14707,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 - 365a4ae75b7427f458e4bdb251ae298fca1254b4
blob + ac488a0bf249670e666d979a08455ec5cadb1346
--- lib/worktree.c
+++ lib/worktree.c
@@ -10024,7 +10024,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);
 }