diff options
author | hansmi <hansmi@users.noreply.github.com> | 2021-01-27 10:49:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 10:49:40 +0100 |
commit | 024d62b96ac19b40473f04931f9c12c8e24e0f7a (patch) | |
tree | b49e2ad17080f3a1236f0fb502a2895c11ae0073 /_examples/common.go | |
parent | 1b1a61ad07f40197d3b9164821a096abd1710628 (diff) | |
download | go-git-024d62b96ac19b40473f04931f9c12c8e24e0f7a.tar.gz |
worktree: Don't remove root directory when cleaning (#230)
When using a separate worktree directory while working on a bare
repository, cleaning with CleanOptions{Dir: true} would also remove the
root worktree directory if empty.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Diffstat (limited to '_examples/common.go')
0 files changed, 0 insertions, 0 deletions