]> git.proxmox.com Git - libgit2.git/commit
worktree: implement `git_worktree_prune`
authorPatrick Steinhardt <ps@pks.im>
Wed, 21 Oct 2015 11:53:18 +0000 (13:53 +0200)
committerPatrick Steinhardt <ps@pks.im>
Mon, 13 Feb 2017 10:02:03 +0000 (11:02 +0100)
commitf0cfc34105fd68af9eb6e2024459c40c45e7d3a0
treef8487a9f042180a253e79fcc6be7c19a744b2f5f
parent2a503485fae6c93c76bd0465c8b3fad5d9e19f6d
worktree: implement `git_worktree_prune`

Implement the `git_worktree_prune` function. This function can be
used to delete working trees from a repository. According to the
flags passed to it, it can either delete the working tree's
gitdir only or both gitdir and the working directory.
include/git2/worktree.h
src/worktree.c
tests/worktree/worktree.c