Commit 8242cc1
committed
repository: set error message if trying to set HEAD to a checked out one
If trying to set the HEAD of a repository to another reference, we have
to check whether this reference is already checked out in another linked
work tree. If it is, we will refuse setting the HEAD and return an
error, but do not set a meaningful error message. Add one.1 parent 5b65ac2 commit 8242cc1
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
2565 | 2567 | | |
2566 | 2568 | | |
2567 | 2569 | | |
| |||
0 commit comments