Browse Source
If the work tree contains an untracked file x, and unpack-trees wants to checkout a path x/*, the file x is removed unconditionally. Instead, apply the same checks that are normally used for untracked files, and abort if the file cannot be removed. Signed-off-by: Clemens Buchacher <drizzd@aon.at>maint
![drizzd@aon.at](/assets/img/avatar_default.png)
![Junio C Hamano](/assets/img/avatar_default.png)
4 changed files with 31 additions and 10 deletions
Loading…
Reference in new issue