| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| binaryunicode.c | ||
| checkout_helpers.c | ||
| checkout_helpers.h | ||
| conflict.c | ||
| crlf.c | ||
| head.c | ||
| icase.c | ||
| index.c | ||
| nasty.c | ||
| tree.c | ||
| typechange.c |
If the `GIT_CHECKOUT_FORCE` flag is given to any of the `git_checkout` invocations, we remove files which were previously staged. But while doing so, we unfortunately also remove unstaged files in a directory which contains at least one staged file, resulting in potential data loss. This commit adds two tests to verify behavior.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| binaryunicode.c | Loading commit data... | |
| checkout_helpers.c | Loading commit data... | |
| checkout_helpers.h | Loading commit data... | |
| conflict.c | Loading commit data... | |
| crlf.c | Loading commit data... | |
| head.c | Loading commit data... | |
| icase.c | Loading commit data... | |
| index.c | Loading commit data... | |
| nasty.c | Loading commit data... | |
| tree.c | Loading commit data... | |
| typechange.c | Loading commit data... |