@@ -238,21 +238,21 @@ int git_worktree_validate(const git_worktree *wt)
238238
239239 if (!is_worktree_dir (wt -> gitdir_path )) {
240240 git_error_set (GIT_ERROR_WORKTREE ,
241- "Worktree gitdir ('%s') is not valid" ,
241+ "worktree gitdir ('%s') is not valid" ,
242242 wt -> gitlink_path );
243243 return GIT_ERROR ;
244244 }
245245
246246 if (wt -> parent_path && !git_path_exists (wt -> parent_path )) {
247247 git_error_set (GIT_ERROR_WORKTREE ,
248- "Worktree parent directory ('%s') does not exist " ,
248+ "worktree parent directory ('%s') does not exist " ,
249249 wt -> parent_path );
250250 return GIT_ERROR ;
251251 }
252252
253253 if (!git_path_exists (wt -> commondir_path )) {
254254 git_error_set (GIT_ERROR_WORKTREE ,
255- "Worktree common directory ('%s') does not exist " ,
255+ "worktree common directory ('%s') does not exist " ,
256256 wt -> commondir_path );
257257 return GIT_ERROR ;
258258 }
@@ -517,7 +517,7 @@ int git_worktree_is_prunable(git_worktree *wt,
517517 {
518518 if (!reason .size )
519519 git_buf_attach_notowned (& reason , "no reason given" , 15 );
520- git_error_set (GIT_ERROR_WORKTREE , "Not pruning locked working tree: '%s'" , reason .ptr );
520+ git_error_set (GIT_ERROR_WORKTREE , "not pruning locked working tree: '%s'" , reason .ptr );
521521 git_buf_dispose (& reason );
522522
523523 return 0 ;
@@ -526,7 +526,7 @@ int git_worktree_is_prunable(git_worktree *wt,
526526 if ((popts .flags & GIT_WORKTREE_PRUNE_VALID ) == 0 &&
527527 git_worktree_validate (wt ) == 0 )
528528 {
529- git_error_set (GIT_ERROR_WORKTREE , "Not pruning valid working tree" );
529+ git_error_set (GIT_ERROR_WORKTREE , "not pruning valid working tree" );
530530 return 0 ;
531531 }
532532
@@ -558,7 +558,7 @@ int git_worktree_prune(git_worktree *wt,
558558 goto out ;
559559 if (!git_path_exists (path .ptr ))
560560 {
561- git_error_set (GIT_ERROR_WORKTREE , "Worktree gitdir '%s' does not exist" , path .ptr );
561+ git_error_set (GIT_ERROR_WORKTREE , "worktree gitdir '%s' does not exist" , path .ptr );
562562 err = -1 ;
563563 goto out ;
564564 }
@@ -578,7 +578,7 @@ int git_worktree_prune(git_worktree *wt,
578578 git_buf_attach (& path , wtpath , 0 );
579579 if (!git_path_exists (path .ptr ))
580580 {
581- git_error_set (GIT_ERROR_WORKTREE , "Working tree '%s' does not exist" , path .ptr );
581+ git_error_set (GIT_ERROR_WORKTREE , "working tree '%s' does not exist" , path .ptr );
582582 err = -1 ;
583583 goto out ;
584584 }
0 commit comments