We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3721432 commit 12b54aeCopy full SHA for 12b54ae
include/git2/worktree.h
@@ -237,7 +237,9 @@ GIT_EXTERN(int) git_worktree_prune_options_init(
237
*
238
* If the worktree is not valid and not locked or if the above
239
* flags have been passed in, this function will return a
240
- * positive value.
+ * positive value. If the worktree is not prunable, an error
241
+ * message will be set (visible in `giterr_last`) with details about
242
+ * why.
243
244
* @param wt Worktree to check.
245
* @param opts The prunable options.
0 commit comments