Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

worktree: Don't remove root directory when cleaning #230

Merged
merged 1 commit into from Jan 27, 2021
Merged

worktree: Don't remove root directory when cleaning #230

merged 1 commit into from Jan 27, 2021

Commits on Dec 26, 2020

  1. worktree: Don't remove root directory when cleaning

    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>
    hansmi committed Dec 26, 2020
    Copy the full SHA
    9bd9a0c View commit details
    Browse the repository at this point in the history